Skip to content

Commit

Permalink
simplifying test env
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Nov 1, 2024
1 parent 1fc78f8 commit 97995e7
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,26 +203,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Setup package.json and install dependencies
- name: Install Test Dependencies
run: |
# Create package.json if it doesn't exist
if [ ! -f package.json ]; then
echo '{
"name": "vfb-testing",
"version": "1.0.0",
"private": true,
"resolutions": {
"three": "0.115.0"
},
"overrides": {
"three": "0.115.0"
}
}' > package.json
else
# Add resolutions to existing package.json
npm pkg set resolutions.three="0.115.0"
npm pkg set overrides.three="0.115.0"
fi
# Create minimal package.json just for testing
echo '{
"name": "vfb-testing",
"private": true
}' > package.json
- name: Install Chrome dependencies
run: |
Expand Down

0 comments on commit 97995e7

Please sign in to comment.