File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 11name : Deploy JigsawStack Package to NPM and JSR when a Release is Created
2+
23on :
34 release :
45 types : [created]
@@ -15,12 +16,22 @@ jobs:
1516 - uses : actions/checkout@v4
1617 - uses : actions/setup-node@v4
1718 with :
18- node-version : " 20 .x"
19+ node-version : " 22 .x"
1920 registry-url : " https://registry.npmjs.org"
21+
22+ # Ensure npm is new enough for Trusted Publishing (>= 11.5.1)
23+ - name : Update npm
24+ run : npm install -g npm@latest
25+
26+ - name : Enable corepack (yarn)
27+ run : corepack enable
28+
29+ - name : Install deps
30+ run : yarn install --frozen-lockfile
31+
2032 - name : Build package
21- run : |
22- yarn
23- yarn build
33+ run : yarn build
34+
2435 - name : Publish to NPM
2536 run : npm publish --provenance --access public
2637
3445 - uses : actions/checkout@v4
3546 - uses : actions/setup-node@v4
3647 with :
37- node-version : " 20 .x"
48+ node-version : " 22 .x"
3849 - name : Build package
3950 run : |
4051 yarn
You can’t perform that action at this time.
0 commit comments