From fb7cb8d26c8612a48ad5085a59c510cba9f3a3d7 Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Fri, 3 Nov 2023 20:53:48 +0530 Subject: [PATCH] ci: update nodejs to v20 --- .github/workflows/npmpublish.yml | 10 +++++----- .github/workflows/pages.yml | 8 ++++---- .github/workflows/tests.yml | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index ad0fd0ed..0d27b515 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,7 +1,7 @@ name: NPM Publish env: - NODE_VERSION: 18 + NODE_VERSION: 20 on: release: @@ -11,9 +11,9 @@ jobs: test-lib: 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: ${{env.NODE_VERSION}} cache: npm @@ -32,8 +32,8 @@ jobs: id-token: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{env.NODE_VERSION}} registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 446b1378..8fb9a23b 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 }} @@ -23,10 +23,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 @@ -38,7 +38,7 @@ jobs: run: npm run build - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: ./docs/dist diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a941a41e..73d75122 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: @@ -16,10 +16,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Using node v-${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{env.NODE_VERSION}} cache: npm