Skip to content

Commit

Permalink
added npm install step to new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Feb 14, 2024
1 parent c296f47 commit 194e516
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/new-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Run Tests
on: [push, pull_request]

jobs:
tests:
new-run-tests:
runs-on: macos-latest

defaults:
Expand All @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: ["16.x"]
node-version: ["18.x"]

steps:
- uses: actions/checkout@v3
Expand All @@ -26,11 +26,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
# Skip post-install scripts here, as a malicious
# script could steal the NPM_TOKEN.
- run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# `npm rebuild` will run all those post-install scripts for us.
- run: npm rebuild
- run: npm install
- run: |
npm i \
react@^17.0.2 \
Expand Down

0 comments on commit 194e516

Please sign in to comment.