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 f7dfa3d commit 3a60d43Copy full SHA for 3a60d43
.github/workflows/npm-publish.yml
@@ -5,20 +5,7 @@ on:
5
types: [created]
6
7
jobs:
8
- validate:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@v3
12
- - uses: actions/setup-node@v3
13
- with:
14
- node-version: 16
15
- - run: |
16
- npm i -g yarn
17
- yarn install
18
- yarn tsc
19
-
20
- publish-npm:
21
- needs: validate
+ validate-and-publish:
22
runs-on: ubuntu-latest
23
steps:
24
- uses: actions/checkout@v3
@@ -27,9 +14,9 @@ jobs:
27
node-version: 16
28
registry-url: https://registry.npmjs.org/
29
- run: |
+ npm i -g yarn
30
yarn install
31
yarn tsc
32
yarn build
33
- npm publish
34
env:
35
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments