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 4a81533 commit f6ede93Copy full SHA for f6ede93
.github/workflows/release.yaml
@@ -0,0 +1,30 @@
1
+name: Release Version
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
11
+ env:
12
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v2
18
+ with:
19
+ fetch-depth: 0
20
21
+ - name: Install lib dependencies
22
+ uses: bahmutov/npm-install@v1
23
24
+ useLockFile: false # Better for building libraries
25
26
+ # - name: Generate .npmrc
27
+ # run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
28
29
+ - name: Release version
30
+ run: yarn release --ci
0 commit comments