We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e42699b commit 009a016Copy full SHA for 009a016
.github/workflows/release.yml
@@ -38,3 +38,20 @@ jobs:
38
- run: yarn install --frozen-lockfile
39
- run: yarn ci:test:coverage
40
- uses: codecov/codecov-action@v1
41
+
42
+ publish-to-npm:
43
+ needs: test
44
+ runs-on: ubuntu-latest
45
+ steps:
46
+ - uses: actions/checkout@v2
47
+ - uses: actions/setup-node@v1
48
+ with:
49
+ node-version: 14
50
+ registry-url: https://registry.npmjs.org/
51
+ - run: yarn install --frozen-lockfile
52
+ - run: yarn build
53
+ - name: Semantic Release
54
+ uses: cycjimmy/semantic-release-action@v2
55
+ env:
56
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
57
+ NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
0 commit comments