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 f95f17a commit b9b11a8Copy full SHA for b9b11a8
.github/workflows/release.js.yml
@@ -0,0 +1,22 @@
1
+name: npm publish
2
+
3
+on:
4
+ push:
5
+ branches: [ production ]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-node@v2
13
+ with:
14
+ node-version: '16.x'
15
+ cache: 'npm'
16
+ - run: npm ci
17
+ - run: npm run build --if-present
18
+ - run: npm test
19
+ - run: npm run release --ci
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments