Skip to content

Commit

Permalink
fix: use npm 7 for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aliariff committed Sep 17, 2021
1 parent 536c3db commit 26a7ab2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
with:
node-version: "14"
- name: Install dependencies
run: npm install
run: |
npm i -g npm@7
npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install dependencies
run: |
npm i -g npm@7
npm install
gem install htmlbeautifier
- name: Run headless test (${{ matrix.os }})
Expand Down

0 comments on commit 26a7ab2

Please sign in to comment.