Skip to content

Commit e9f4034

Browse files
committed
chore: updated workflow
1 parent 53d2d04 commit e9f4034

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: push
33

44
jobs:
55
test:
6-
runs-on: ubuntu-20.04
6+
runs-on: ubuntu-22.04
77

88
services:
99
rethinkdb:
@@ -13,33 +13,33 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [ 16.x, 18.x, 20.x ]
16+
node-version: [ 18.x, 20.x, 22.x ]
1717

1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/cache@v3
19+
- uses: actions/checkout@v4
20+
- uses: actions/cache@v4
2121
with:
2222
path: ~/.npm
2323
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2424
restore-keys: |
2525
${{ runner.os }}-node-
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- run: npm ci
3131
- run: npm run build --if-present
3232
- run: npm test
3333
publish:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535
needs: test
3636
if: startsWith(github.ref, 'refs/tags/v')
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939
- name: Use Node.js
40-
uses: actions/setup-node@v3
40+
uses: actions/setup-node@v4
4141
with:
42-
node-version: 14
42+
node-version: 20
4343
registry-url: 'https://registry.npmjs.org'
4444
- run: npm ci
4545
- run: npm run build --if-present

0 commit comments

Comments
 (0)