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 1ae73e9 commit 352b186Copy full SHA for 352b186
.github/workflows/ci.yml
@@ -19,6 +19,7 @@ jobs:
19
- uses: actions/setup-node@v2
20
with:
21
node-version: '16'
22
+ registry-url: 'https://registry.npmjs.org'
23
- name: Install dependencies
24
if: startsWith(matrix.os, 'ubuntu')
25
run: sudo apt-get install libxtst-dev libpng++-dev
@@ -32,3 +33,8 @@ jobs:
32
33
- name: Release prebuilt artifacts (win ia32)
34
if: github.event_name == 'release' && github.event.action == 'published' && startsWith(matrix.os, 'windows')
35
run: npx prebuild --all -r napi --arch ia32 -u ${{ secrets.PUBLISH_TOKEN }}
36
+ - name: Release to npm
37
+ if: github.event_name == 'release' && github.event.action == 'published'
38
+ run: npm publish
39
+ env:
40
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments