From 5dae674b27f52ea30e2121e4c713ba49b7f87a51 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder <231804+danez@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:00:09 +0000 Subject: [PATCH] fix: use Node.js 16 https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 7 ++----- .nvmrc | 2 +- action.yml | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4aeb562..c0a42dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 18.x - name: Install dependencies run: npx ci - name: Lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b47eecb..d08104c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,16 +9,13 @@ jobs: name: Test runs-on: ubuntu-latest timeout-minutes: 10 - strategy: - matrix: - node-version: [ 10.x, 14.x ] steps: - name: Checkout uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: 16.x - name: Install dependencies run: npx ci - name: Lint diff --git a/.nvmrc b/.nvmrc index 82f87fa..9e15be3 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.18.4 +v16.20.0 diff --git a/action.yml b/action.yml index c519cab..dfd994b 100644 --- a/action.yml +++ b/action.yml @@ -22,5 +22,5 @@ inputs: hide-files: description: 'Glob pattern to hide files with' runs: - using: 'node12' + using: 'node16' main: 'dist/index.js'