From e7972603937ca600b47c6ce37aa1c778353dafce Mon Sep 17 00:00:00 2001 From: Waleed Ashraf Date: Sun, 21 Jul 2024 06:49:18 +0200 Subject: [PATCH] bump node version and action version in github workflows --- .github/workflows/npmpublish.yml | 6 +++--- .github/workflows/test-coverage.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d4908a1..fe73426 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -22,9 +22,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} - name: Setup NodeJS - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v4 with: - node-version: '12' + node-version: 18 registry-url: 'https://registry.npmjs.org' - run: | diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index d2d885b..53ee79e 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -19,9 +19,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} - name: Setup nodejs and run tests - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v4 with: - node-version: '12' + node-version: 18 - run: | npm ci