Skip to content

Commit

Permalink
drop redundant npm installation from github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
magicznyleszek authored and noliveleger committed Jun 14, 2022
1 parent dd5b24f commit c8c3413
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
# We need this particular version, as npm 8.5.5 is the last version
# that works with our package.json :sadface:.
node-version: '16.15.0'
cache: 'npm'
- name: Downgrading npm to 8.5.5
uses: reedyuk/[email protected]
with:
version: '8.5.5'
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- run: npm install
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
# We need this particular version, as npm 8.5.5 is the last version
# that works with our package.json :sadface:.
node-version: '16.15.0'
cache: 'npm'
- name: Downgrading npm to 8.5.5
uses: reedyuk/[email protected]
with:
version: '8.5.5'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit c8c3413

Please sign in to comment.