File tree Expand file tree Collapse file tree 2 files changed +15
-16
lines changed Expand file tree Collapse file tree 2 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -5,27 +5,26 @@ 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 strategy :
1817 matrix :
19- node-version : [14 .x, 16 .x, 18 .x]
18+ node-version : [16 .x, 18 .x, 20 .x]
2019 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120
2221 steps :
23- - uses : actions/checkout@v3
24- - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v3
26- with :
27- node-version : ${{ matrix.node-version }}
28- cache : ' npm'
29- - run : npm ci
30- - run : npm run build --if-present
31- - run : npm test
22+ - uses : actions/checkout@v3
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@v3
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ cache : " npm"
28+ - run : npm ci
29+ - run : npm run build --if-present
30+ - run : npm test
Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v3
1515 - uses : actions/setup-node@v3
1616 with :
17- node-version : 16
17+ node-version : 18
1818 - run : npm ci
19- # - run: npm test
19+ # - run: npm test
2020
2121 publish-npm :
2222 needs : build
2525 - uses : actions/checkout@v3
2626 - uses : actions/setup-node@v3
2727 with :
28- node-version : 16
28+ node-version : 18
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