Skip to content

Commit 0384e28

Browse files
Update workflows node version
1 parent e3ee594 commit 0384e28

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [12.x]
18+
node: [20]
1919

2020
steps:
2121
- uses: actions/checkout@v2
22-
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
22+
- name: Use Node.js ${{ matrix.node }}
23+
uses: actions/setup-node@v4
2424
with:
25-
node-version: ${{ matrix.node-version }}
25+
node-version: ${{ matrix.node }}
2626
- run: npm install
2727
- run: npm run lint
2828
- run: npm run types

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 12
15+
node-version: 20
1616
registry-url: https://registry.npmjs.org/
1717

1818
- name: Install packages

0 commit comments

Comments
 (0)