add release workflow (#293)

* add release workflow

* add @changesets/cli

* add `title` and `commit`
This commit is contained in:
Felicio Mununga 2022-07-06 15:05:33 +02:00 committed by GitHub
parent 269586b6e9
commit e93d992993
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
3 changed files with 1053 additions and 27 deletions

27
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn install --frozen-lockfile
- uses: changesets/action@v1
id: changesets
with:
title: Release
commit: Release
version: yarn changeset version
publish: yarn changeset publish
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -18,6 +18,7 @@
"clean": "turbo run clean && rm -rf node_modules .parcel-cache" "clean": "turbo run clean && rm -rf node_modules .parcel-cache"
}, },
"devDependencies": { "devDependencies": {
"@changesets/cli": "^2.23.0",
"@tsconfig/strictest": "^1.0.1", "@tsconfig/strictest": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^5.12.0", "@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0", "@typescript-eslint/parser": "^5.12.0",

1052
yarn.lock

File diff suppressed because it is too large Load Diff