We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89481d5 commit 17c6184Copy full SHA for 17c6184
.github/workflows/publish.yml
@@ -0,0 +1,21 @@
1
+name: Release
2
+on:
3
+ push:
4
+ branches: [ main ]
5
+
6
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
7
+jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ with:
13
+ fetch-depth: 0
14
+ - uses: actions/setup-node@v2
15
16
+ node-version: 14
17
+ - run: yarn install
18
+ - run: npx semantic-release --branches main
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments