From 29fafd80dde55d7ce95dead5fbd7c6f57af61a47 Mon Sep 17 00:00:00 2001 From: Shane Genschaw Date: Fri, 24 Mar 2023 10:51:07 -0500 Subject: [PATCH] fix: Node12 is deprecated for GitHub Actions [#41] --- .github/workflows/main.yml | 6 +++--- action.yml | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33b5149..7c017e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,13 +9,13 @@ jobs: matrix: node-version: [18.x] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Restore dependencies - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }} diff --git a/action.yml b/action.yml index 88fef03..e4da2e4 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ inputs: description: 'Path to run from. If not set, top level directory will be used.' required: false runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' branding: icon: 'check-circle' diff --git a/package.json b/package.json index 0963d47..bcb4abb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typescript-error-reporter-action", - "version": "1.0.3", + "version": "1.0.4", "main": "dist/index.js", "author": "andoshin11 ", "license": "MIT",