Skip to content

Commit 10fed15

Browse files
authored
misc: Update GitHub Actions tool versions and keep them consistent (#259)
1 parent fa17a53 commit 10fed15

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313

1414
- name: Setup Node.js environment
15-
uses: actions/setup-node@v2
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: 16
1618

1719
- name: Install npm dependencies
1820
run: npm ci
@@ -21,6 +23,6 @@ jobs:
2123
run: npm run test:cov
2224

2325
- name: Codacy Coverage Reporter
24-
uses: codacy/codacy-coverage-reporter-action@0.2.0
26+
uses: codacy/codacy-coverage-reporter-action@v1
2527
with:
2628
project-token: ${{ secrets.CODACY_TOKEN }}

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ on:
66
jobs:
77
release:
88
name: Release
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
10+
1011
steps:
1112
- name: Checkout
12-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1314
with:
1415
fetch-depth: 0
1516

1617
- name: Setup Node.js environment
17-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
1821

1922
- name: Install dependencies
2023
run: npm ci

0 commit comments

Comments
 (0)