Skip to content

Commit 0b9bfc2

Browse files
committed
build: run workflows with Node.js@18
1 parent faaa64b commit 0b9bfc2

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: macos-11
13+
runs-on: macos-latest
1414
steps:
15-
- uses: actions/checkout@master
16-
- name: Use Node.js 16.x
17-
uses: actions/setup-node@v1
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js 18.x
17+
uses: actions/setup-node@v3
1818
with:
19-
version: 16.x
19+
node-version: 18.x
2020
- name: Lint
2121
run: |
2222
npm install

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: macos-11
13+
runs-on: macos-latest
1414
steps:
15-
- uses: actions/checkout@master
16-
- name: Use Node.js 16.x
17-
uses: actions/setup-node@v1
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js 18.x
17+
uses: actions/setup-node@v3
1818
with:
19-
version: 16.x
19+
node-version: 18.x
2020
- name: npm install, build, and test
2121
run: |
2222
npm install

0 commit comments

Comments
 (0)