From b0f6478915c1c35ab2bd0f60a8ddfc8a38f0b3c0 Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:39:48 +0530 Subject: [PATCH] Update Github Action workflows --- .github/workflows/pages.yml | 8 ++++---- .github/workflows/publish.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 070962a..a732ad0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -5,7 +5,7 @@ on: branches: master env: - NODE_VERSION: 18 + NODE_VERSION: 20 concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -20,10 +20,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: npm @@ -35,7 +35,7 @@ jobs: run: npm run build:storybook - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: ./storybook-static diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f534483..088b63e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: NPM Publish env: - NODE_VERSION: 18 + NODE_VERSION: 20 on: push: @@ -17,9 +17,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 97f5246..bfb3d76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ name: Tests env: - NODE_VERSION: 18 + NODE_VERSION: 20 on: push: @@ -15,9 +15,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: npm