Skip to content

Commit

Permalink
run npm install after react17 deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Feb 14, 2024
1 parent 9b77fb6 commit 58e4a84
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/new-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,13 @@ jobs:
registry-url: 'https://registry.npmjs.org'
# Skip post-install scripts here, as a malicious
# script could steal the NPM_TOKEN.
- run: npm install
- run: |
npm i \
react@^17.0.2 \
react-dom@^17.0.2 \
@testing-library/react@^12.1.3 \
@testing-library/react-hooks@^8.0.0
- run: |
npm install --save-optional \
"@swc/core-darwin-arm64" \
"@swc/core-darwin-x64" \
"@swc/core-linux-arm-gnueabihf" \
"@swc/core-linux-arm64-gnu" \
"@swc/core-linux-arm64-musl" \
"@swc/core-linux-x64-gnu" \
"@swc/core-linux-x64-musl" \
"@swc/core-win32-arm64-msvc" \
"@swc/core-win32-ia32-msvc" \
"@swc/core-win32-x64-msvc"
- run: npm install
- run: npm run build
- run: npm test
env:
Expand Down

0 comments on commit 58e4a84

Please sign in to comment.