File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ jobs:
1111
1212 steps :
1313 - name : Checkout
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
1515
1616 - name : Install Node.js
17- uses : actions/setup-node@v3
17+ uses : actions/setup-node@v4
1818 with :
19- node-version : 18
19+ node-version : 20
2020
21- - uses : pnpm/action-setup@v2
21+ - uses : pnpm/action-setup@v4
2222 name : Install pnpm
2323 id : pnpm-install
2424 with :
25- version : 8
25+ version : 9
2626 run_install : false
2727
2828 - name : Get pnpm store directory
3131 run : |
3232 echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
3333
34- - uses : actions/cache@v3
34+ - uses : actions/cache@v4
3535 name : Setup pnpm cache
3636 with :
3737 path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
4646 run : pnpm build
4747
4848 - name : Publish
49- uses : JS-DevTools/npm-publish@v1
50- with :
51- token : ${{ secrets.NPM_TOKEN }}
52- access : public
49+ shell : bash
50+ run : |
51+ echo "//registry.npmjs.org/:_authToken=" ${{ secrets.NPM_TOKEN }}"" > ~/.npmrc
52+ pnpm publish -- access public
Original file line number Diff line number Diff line change 1111 " types"
1212 ],
1313 "packageManager" :
" [email protected] " ,
14+ "engines" : {
15+ "node" : " >=20"
16+ },
1417 "scripts" : {
1518 "dev" : " tsup --watch" ,
1619 "build" : " tsup" ,
1720 "test" : " vitest" ,
1821 "test:ui" : " vitest --ui --watch" ,
1922 "dev:examples" : " turbo run dev --filter=./examples/*" ,
2023 "build:examples" : " turbo run build --filter=./examples/*" ,
21- "format" : " prettier --write --ignore-unknown **" ,
22- "prepublishOnly" : " pnpm build"
24+ "format" : " prettier --write --ignore-unknown **"
2325 },
2426 "repository" : {
2527 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments