Skip to content

Commit

Permalink
Add Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
renatonascalves committed Mar 19, 2024
1 parent 58ea3b6 commit d5f6242
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
tools: composer:v2
coverage: none

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '>=20.10.0'

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
Expand All @@ -64,7 +69,7 @@ jobs:
${{ runner.os }}-
- name: Validate node modules
run: if [[ -f package.json ]]; then npm audit --audit-level=high --production --cache ~/.npm; fi
run: if [[ -f package.json ]]; then npm audit --audit-level=high --omit=dev --cache ~/.npm; fi

- name: Install node modules
run: npm ci --cache ~/.npm
Expand Down

0 comments on commit d5f6242

Please sign in to comment.