File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,20 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ main ]
8+ branches : [main]
99 pull_request :
10- branches : [ main ]
10+ branches : [main]
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
1615
1716 steps :
18- - uses : actions/checkout@v2
19- - name : Use Node.js ${{ matrix.node-version }}
20- uses : actions/setup-node@v1
21- with :
22- node-version : 14
23- - run : npm ci
24- - run : npm run build --if-present
25- - run : npm test
17+ - uses : actions/checkout@v4
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : 21
22+ - run : npm ci
23+ - run : npm run build --if-present
24+ - run : npm test
Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ jobs:
1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v1
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1616 with :
17- node-version : 14
17+ node-version : 21
1818 - run : npm ci
1919 - run : npm test
2020
2121 publish-npm :
2222 needs : build
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v2
26- - uses : actions/setup-node@v1
25+ - uses : actions/checkout@v4
26+ - uses : actions/setup-node@v4
2727 with :
28- node-version : 14
28+ node-version : 21
2929 registry-url : https://registry.npmjs.org/
3030 - run : npm ci
3131 - run : npm publish
You can’t perform that action at this time.
0 commit comments