From d88119878fb9601fb30d0aa5805da7671cd1e39e Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Tue, 14 Nov 2023 20:51:19 -0800 Subject: [PATCH] fix: use node20 as runtime (#247) --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- action.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42376f2..a0a4a69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ jobs: name: release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: lts/* - run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ccb2a26..f1c5ab8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,10 +11,10 @@ jobs: name: "[TEST] README example" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: lts/* + node-version: 20 # use same as runtime in action.yml - run: npm ci - run: npm run build - name: Get latest release of ${{ github.repository }} diff --git a/action.yml b/action.yml index 875d4a0..857f419 100644 --- a/action.yml +++ b/action.yml @@ -20,5 +20,5 @@ outputs: popular_repositories: description: "JSON string for user/organization login and total number of stars of public repositories the app is installed on" runs: - using: "node16" + using: "node20" main: "dist/index.js"