File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ jobs:
1212 build :
1313 strategy :
1414 matrix :
15- node : [20, 18 ]
15+ node : [22, 20 ]
1616 platform : [ubuntu-latest, macos-latest, windows-latest]
1717 runs-on : ${{ matrix.platform }}
1818 steps :
1919 - name : setup node
20- uses : actions/setup-node@v1
20+ uses : actions/setup-node@v4
2121 with :
2222 node-version : ${{ matrix.node }}
2323 - name : checkout
24- uses : actions/checkout@v1
24+ uses : actions/checkout@v4
2525 - name : Get npm cache directory
2626 id : npm-cache
2727 run : |
2828 echo "::set-output name=dir::$(npm config get cache)"
29- - uses : actions/cache@v1
29+ - uses : actions/cache@v4
3030 with :
3131 path : ${{ steps.npm-cache.outputs.dir }}
3232 key : ${{ matrix.platform }}-node-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
3636 run : npm install
3737 - name : run tests
3838 run : npm run test
39- if : matrix.node == 16 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
39+ if : matrix.node == 22 # Only run unit test on node 16, more at: https://github.com/facebook/jest/issues/11438
4040 - name : build library
4141 run : npm run build --ws --if-present
Original file line number Diff line number Diff line change 77 build :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v4
1111 # Setup .npmrc file to publish to npm
12- - uses : actions/setup-node@v1
12+ - uses : actions/setup-node@v4
1313 with :
14- node-version : ' 20 .x'
14+ node-version : ' 22 .x'
1515 registry-url : ' https://registry.npmjs.org'
1616 - run : npm install
1717 - run : npm run build --ws --if-present
You can’t perform that action at this time.
0 commit comments