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 2ccf0b6 commit f131e9aCopy full SHA for f131e9a
.github/workflows/code_quality.yml renamed to .github/workflows/code-quality.yml
.github/workflows/npm-publish.yml
@@ -3,19 +3,8 @@ name: Publish to NPM
3
on:
4
release:
5
types: [created]
6
- workflow_dispatch:
7
8
jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v3
13
- - uses: actions/setup-node@v3
14
- with:
15
- node-version: 16
16
- - run: npm install
17
- - run: npm test
18
-
19
publish-npm:
20
needs: build
21
runs-on: ubuntu-latest
@@ -25,7 +14,9 @@ jobs:
25
with:
26
node-version: 16
27
registry-url: https://registry.npmjs.org/
28
29
- - run: npm publish
+ - run: |
+ yarn install
+ yarn test
+ yarn publish
30
env:
31
22
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments