Skip to content

Commit 2687d4b

Browse files
committed
ci: 🎡 fix actions/setup-node to use semantic version
1 parent 8162289 commit 2687d4b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/pull_request_ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [10.x, 12.x, 14.x]
12+
node: [10.x, 12.x, 14.x]
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v2
16+
- name: Use Node.js ${{ matrix.node }}
17+
uses: actions/setup-node@v2.0.0
1818
with:
19-
node-version: ${{ matrix.node-version }}
19+
node-version: ${{ matrix.node }}
20+
check-latest: true
2021
- name: npm install, build, and test
2122
run: |
2223
yarn install --pure-lockfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v2
1313
- name: Setup Node.js
14-
uses: actions/setup-node@v1
14+
uses: actions/setup-node@v2.0.0
1515
with:
1616
node-version: 12
1717
- name: Install dependencies

0 commit comments

Comments
 (0)