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 4a3b3e219b
commit 9b90209ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
},
"devDependencies": {
"@changesets/cli": "^2.23.0",
"@tsconfig/strictest": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",

1052
yarn.lock

File diff suppressed because it is too large Load Diff