Skip to content

Commit d7db51c

Browse files
authored
ci: update workflows (#342)
1 parent e9ab5c6 commit d7db51c

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/pr.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
# - 'macos-latest'
1313
# - 'windows-latest'
1414
node_version:
15+
- '22'
16+
- '20'
1517
- '18'
1618
- '16'
1719
- '14'
@@ -20,22 +22,18 @@ jobs:
2022
runs-on: ${{ matrix.os }}
2123
steps:
2224
- name: Checkout
23-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2426

2527
- name: Setup Node.js
26-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2729
with:
2830
node-version: ${{ matrix.node_version }}
2931

30-
# https://github.com/bahmutov/npm-install/issues/103#issuecomment-931226602
31-
- name: Update NPM
32-
run: npm install --global npm@8
33-
3432
- name: Install Dependencies
3533
run: npm ci
3634

3735
- name: Lint
38-
if: matrix.node_version == '18'
36+
if: matrix.node_version == '22'
3937
run: npm run lint
4038

4139
- name: Run Tests

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Setup Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616

1717
- name: Install dependencies
1818
run: npm i

0 commit comments

Comments
 (0)