We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b76fd6 commit 4d3d27eCopy full SHA for 4d3d27e
1 file changed
.github/workflows/release-build.yml
@@ -21,6 +21,11 @@ jobs:
21
- name: Checkout
22
uses: actions/checkout@v4
23
24
+ - uses: actions/setup-node@v3
25
+ with:
26
+ node-version: 20.x
27
+ registry-url: https://registry.npmjs.org
28
+
29
- name: Save yarn cache location to env
30
run: echo "YARN_CACHE=$(yarn cache dir)" >> $GITHUB_ENV
31
@@ -49,3 +54,9 @@ jobs:
49
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
55
with:
51
56
is_prerelease: false
57
58
+ - name: Publish to npm
59
+ run: yarn publish
60
+ if: startsWith(github.ref, 'refs/tags/')
61
+ env:
62
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments