File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 types : [published]
55
66jobs :
7- build :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v3
11- - uses : actions/setup-node@v3
12- with :
13- node-version : 18
14- registry-url : " https://registry.npmjs.org"
15-
16- - run : corepack enable
17- - run : pnpm install
18- - run : pnpm build
19-
207 publish-npm :
218 runs-on : ubuntu-latest
22- needs : build
239 steps :
2410 - uses : actions/checkout@v3
2511 - uses : actions/setup-node@v3
2612 with :
2713 node-version : 18
2814 registry-url : " https://registry.npmjs.org"
29- - run : npm version ${{github.ref_name}} --no-git-tag-version
30- - run : npm publish
15+ - name : build
16+ run : |
17+ corepack enable
18+ pnpm install
19+ pnpm build
20+ - name : publish
21+ run : |
22+ npm version ${{github.ref_name}} --no-git-tag-version
23+ npm publish
3124 env :
3225 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments