From 909f7fb37ff706e921c143c53e66d1ea8ad2ef73 Mon Sep 17 00:00:00 2001 From: Michalina Date: Wed, 21 Feb 2024 13:46:05 +0100 Subject: [PATCH] Update actions to versions running on Node20 As per https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/, GitHub has started a deprecation process for the GitHub Actions that run on Node16. We're updating Actions that use this version of Node to newer versions, running on Node20. --- .github/workflows/main.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- action.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 99af982..9ee1975 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: name: Verify committed dist directory runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Calculate hash of committed `dist` directory run: echo "COMMITTED_HASH=${{ hashFiles('./dist/**') }}" >> $GITHUB_ENV @@ -34,6 +34,6 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install - run: yarn run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 64dc40c..bed287c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: unit-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: yarn install - run: yarn run test @@ -18,7 +18,7 @@ jobs: manual-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: mkdir ./tmp && cp ./test/data/package.json ./tmp - uses: ./ id: bump-version diff --git a/action.yml b/action.yml index cc39544..8dfa35e 100644 --- a/action.yml +++ b/action.yml @@ -25,7 +25,7 @@ outputs: description: "Resolved new version" runs: - using: "node16" + using: "node20" main: "./dist/index.js" branding: