Skip to content

Commit

Permalink
bump node version and action version in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
WaleedAshraf committed Jul 21, 2024
1 parent bac4f20 commit e797260
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit e797260

Please sign in to comment.