Skip to content

Commit

Permalink
Only setup node if running playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Apr 15, 2024
1 parent 14a7952 commit 485ea72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,17 @@ jobs:
pwsh #validate that powershell installed correctly
# First we need to setup Node...
- uses: actions/setup-node@v4
if: ${{ inputs.run-playwright }}
with:
node-version-file: 'frontend/package.json'
# Then we can set up pnpm...
- uses: pnpm/action-setup@v3
if: ${{ inputs.run-playwright }}
with:
package_json_file: 'frontend/package.json'
# Then we can have Noede set up package caching
- uses: actions/setup-node@v4
if: ${{ inputs.run-playwright }}
with:
node-version-file: 'frontend/package.json'
cache: 'pnpm'
Expand Down

0 comments on commit 485ea72

Please sign in to comment.