Skip to content

Commit

Permalink
ci: install dependencies with --legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 7, 2023
1 parent 22968d3 commit 6e58786
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install -g npm && npm install
# TODO: remove once rollup-plugin-dts releases a version including https://github.com/Swatinem/rollup-plugin-dts/pull/294
run: npm install -g npm && npm install --legacy-peer-deps
- name: Publish
run: |
if git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+$";
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install -g npm && npm install
# TODO: remove once rollup-plugin-dts releases a version including https://github.com/Swatinem/rollup-plugin-dts/pull/294
run: npm install -g npm && npm install --legacy-peer-deps
- name: Lint
run: npm run lint
- name: Test
Expand Down

0 comments on commit 6e58786

Please sign in to comment.