File tree Expand file tree Collapse file tree 5 files changed +3597
-1921
lines changed
Expand file tree Collapse file tree 5 files changed +3597
-1921
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ on: push
44jobs :
55 update :
66 runs-on : ubuntu-22.04
7- name : Node 20
7+ name : Node 22
88
99 steps :
1010 - name : Checkout code
1111 uses : actions/checkout@v4
1212
1313 - uses : actions/setup-node@v4
1414 with :
15- node-version : 20
16- cache : ' yarn '
15+ node-version : 22
16+ cache : ' npm '
1717
18- - run : yarn install
18+ - run : npm ci
1919
20- - run : yarn build
20+ - run : npm run build
2121
2222 - name : Test Itself (Random Socket)
2323 id : ssh-socket-action-random
Original file line number Diff line number Diff line change 88 update :
99 permissions :
1010 contents : write
11- runs-on : ubuntu-22 .04
11+ runs-on : ubuntu-24 .04
1212 name : Commit Dist
1313
1414 steps :
@@ -17,12 +17,12 @@ jobs:
1717
1818 - uses : actions/setup-node@v4
1919 with :
20- node-version : 20
21- cache : ' yarn '
20+ node-version : 22
21+ cache : ' npm '
2222
23- - run : yarn install
23+ - run : npm ci
2424
25- - run : yarn build
25+ - run : npm run build
2626
2727 - name : Commit updated dist
2828 uses : stefanzweifel/git-auto-commit-action@v5
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ Store that in GitHub Secrets to securely pass to the action.
4747## Development
4848Install package dependencies:
4949` ` ` shell
50- yarn install
50+ npm install
5151```
5252
5353Build ` dist/index.js ` :
5454``` shell
55- ncc build index.js
55+ npm run build
5656```
5757---
5858
You can’t perform that action at this time.
0 commit comments