File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 runs-on : ubuntu-latest
11- permissions :
12- contents : write
1311 steps :
1412 - uses : actions/checkout@v3
1513 with :
1614 fetch-depth : 0
1715
18- - uses : actions/setup-node@v3
16+ - name : Install pnpm
17+ uses : pnpm/action-setup@v2
18+
19+ - name : Set node
20+ uses : actions/setup-node@v3
1921 with :
20- node-version : lts/*
22+ node-version : 16.x
23+ cache : pnpm
24+ registry-url : " https://registry.npmjs.org"
2125
2226 - run : npx changelogithub
27+ continue-on-error : true
2328 env :
2429 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
30+
31+ - name : Install Dependencies
32+ run : pnpm i
33+
34+ - name : Publish to NPM
35+ run : pnpm publish --access public --no-git-checks
36+ env :
37+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 7979 "lint" : " eslint ." ,
8080 "play" : " npm -C playground run dev" ,
8181 "prepublishOnly" : " npm run build" ,
82- "release" : " bumpp && npm publish " ,
82+ "release" : " bumpp" ,
8383 "start" : " esno src/index.ts" ,
8484 "test" : " vitest"
8585 },
You can’t perform that action at this time.
0 commit comments