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:
11
11
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
15
15
16
16
- name : Install Node.js
17
- uses : actions/setup-node@v3
17
+ uses : actions/setup-node@v4
18
18
with :
19
- node-version : 18
19
+ node-version : 20
20
20
21
- - uses : pnpm/action-setup@v2
21
+ - uses : pnpm/action-setup@v4
22
22
name : Install pnpm
23
23
id : pnpm-install
24
24
with :
25
- version : 8
25
+ version : 9
26
26
run_install : false
27
27
28
28
- name : Get pnpm store directory
31
31
run : |
32
32
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
33
33
34
- - uses : actions/cache@v3
34
+ - uses : actions/cache@v4
35
35
name : Setup pnpm cache
36
36
with :
37
37
path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
46
46
run : pnpm build
47
47
48
48
- 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 11
11
" types"
12
12
],
13
13
"packageManager" : " pnpm@9.9.0" ,
14
+ "engines" : {
15
+ "node" : " >=20"
16
+ },
14
17
"scripts" : {
15
18
"dev" : " tsup --watch" ,
16
19
"build" : " tsup" ,
17
20
"test" : " vitest" ,
18
21
"test:ui" : " vitest --ui --watch" ,
19
22
"dev:examples" : " turbo run dev --filter=./examples/*" ,
20
23
"build:examples" : " turbo run build --filter=./examples/*" ,
21
- "format" : " prettier --write --ignore-unknown **" ,
22
- "prepublishOnly" : " pnpm build"
24
+ "format" : " prettier --write --ignore-unknown **"
23
25
},
24
26
"repository" : {
25
27
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments