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 5d33d01 commit 63248b4Copy full SHA for 63248b4
.github/workflows/npm-publish.yml
@@ -8,26 +8,19 @@ on:
8
types: [created]
9
10
jobs:
11
- build:
+ publish:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v3
15
- uses: actions/setup-node@v3
16
with:
17
+ registry-url: https://registry.npmjs.org/
18
node-version: 16
- - run: npm i --force
19
+ cache: 'yarn'
20
+ - run: yarn
21
- run: npm run build
-
- publish-npm:
22
- needs: build
23
- runs-on: ubuntu-latest
24
- steps:
25
- - uses: actions/checkout@v3
26
- - uses: actions/setup-node@v3
27
- with:
28
- node-version: 16
29
- registry-url: https://registry.npmjs.org/
30
- run: ls dist
31
- run: npm publish
32
env:
33
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
+
0 commit comments