Skip to content

Commit

Permalink
Update check-dist.yml workflow to use NodeJS 20 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed May 17, 2024
1 parent ea29175 commit 9b3b811
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set Node.js 12.x
uses: actions/setup-node@v3.6.0
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci
Expand All @@ -44,7 +44,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down

0 comments on commit 9b3b811

Please sign in to comment.