Skip to content

Commit 307b9a8

Browse files
committed
Switch to using NodeJS v16 as a action runtime
NodeJS v12 is EOL and it's been deprecated since April 2022. It will stop being available in GitHub Actions CI/CD workflows by the summer 2023. But it already triggers deprecation warnings that show up on the workflow summary page: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ This patch fixes that. Resolves #15
1 parent fa50129 commit 307b9a8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
- name: Check out source
1919
uses: actions/checkout@v3
2020
- name: Set up Node.js
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
2222
with:
23-
node-version: '12'
23+
node-version: '16'
2424
- name: Build
2525
run: |
2626
npm ci
@@ -54,9 +54,9 @@ jobs:
5454
ref: 'dist'
5555
path: 'dist'
5656
- name: Set up Node.js
57-
uses: actions/setup-node@v2
57+
uses: actions/setup-node@v3
5858
with:
59-
node-version: '12'
59+
node-version: '16'
6060
- name: Build
6161
run: |
6262
npm ci

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
show:
1111
description: Types of tests to show in the results table
1212
runs:
13-
using: 'node12'
13+
using: 'node16'
1414
main: 'index.js'
1515
branding:
1616
icon: check-square

0 commit comments

Comments
 (0)