File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v3
12
- - uses : pnpm/action-setup@v4
11
+ - uses : actions/checkout@v4
13
12
- uses : actions/setup-node@v4
14
13
with :
15
- node-version : 20
16
- cache : ' pnpm '
17
- - run : pnpm install --frozen-lockfile && pnpm run build
14
+ node-version : 22
15
+ cache : ' npm '
16
+ - run : npm ci && npm run build
18
17
# - run: npm test
19
18
20
19
release :
21
20
needs : build
22
21
runs-on : ubuntu-latest
23
22
steps :
24
- - uses : actions/checkout@v3
25
- - uses : pnpm/action-setup@v4
23
+ - uses : actions/checkout@v4
26
24
- uses : actions/setup-node@v4
27
25
with :
28
- node-version : 20
26
+ node-version : 22
29
27
registry-url : ' https://registry.npmjs.org'
30
- cache : ' pnpm '
31
- - run : pnpm install --frozen-lockfile && pnpm run build
28
+ cache : ' npm '
29
+ - run : npm ci && npm run build
32
30
- name : Publish package on NPM 📦
33
31
run : npm publish
34
32
env :
Original file line number Diff line number Diff line change 25
25
"format" : " prettier nodes --write" ,
26
26
"lint" : " eslint nodes package.json" ,
27
27
"lintfix" : " eslint nodes package.json --fix" ,
28
- "prepublishOnly" : " npm build && npm lint -c .eslintrc.prepublish.js nodes package.json"
28
+ "prepublishOnly" : " npm run build && npm run lint -c .eslintrc.prepublish.js nodes package.json"
29
29
},
30
30
"files" : [
31
31
" dist"
You can’t perform that action at this time.
0 commit comments