From 3e7fb44c4d97b17d01a810e365cb7d26d80dae1a Mon Sep 17 00:00:00 2001 From: Michalina Date: Wed, 21 Feb 2024 14:15:34 +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/components.yaml | 8 ++++---- .github/workflows/npm.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/components.yaml b/.github/workflows/components.yaml index 04d3004..ecbf770 100644 --- a/.github/workflows/components.yaml +++ b/.github/workflows/components.yaml @@ -14,9 +14,9 @@ jobs: name: Check code format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "16" cache: "yarn" @@ -31,9 +31,9 @@ jobs: name: Build code runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "16" cache: "yarn" diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 90adca2..2fad825 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -18,9 +18,9 @@ jobs: npm-compile-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "14.x" registry-url: "https://registry.npmjs.org"