File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
- branches :
4
- - dev
3
+ tags :
4
+ - ' v* '
5
5
permissions :
6
6
contents : write
7
7
pull-requests : write
@@ -15,15 +15,15 @@ jobs:
15
15
with :
16
16
release-type : node
17
17
- uses : actions/checkout@v4
18
- if : ${{ steps.release.outputs.release_created }}
19
18
- uses : actions/setup-node@v4
20
19
with :
21
- node-version : 12
20
+ node-version : 16
22
21
registry-url : ' https://registry.npmjs.org'
23
- if : ${{ steps.release.outputs.release_created }}
24
- - run : npm ci
25
- if : ${{ steps.release.outputs.release_created }}
26
- - run : npm publish
27
- env :
28
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
29
- if : ${{ steps.release.outputs.release_created }}
22
+ - uses : pnpm/action-setup@v3
23
+ with :
24
+ version : 8
25
+ - run : pnpm ci
26
+ - run : pnpm build
27
+ - uses : JS-DevTools/npm-publish@v3
28
+ with :
29
+ token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments