Skip to content

Commit

Permalink
build: legacy-peer-deps in new node
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Mar 16, 2024
1 parent 17086e6 commit d40e4b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,23 @@ jobs:

- name: Node.js 15.x
node-version: "15.14"
legacy-peer-deps: true

- name: Node.js 16.x
node-version: "16.19"
legacy-peer-deps: true

- name: Node.js 17.x
node-version: "17.9"
legacy-peer-deps: true

- name: Node.js 18.x
node-version: "18.14"
legacy-peer-deps: true

- name: Node.js 19.x
node-version: "19.7"
legacy-peer-deps: true

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -150,7 +155,7 @@ jobs:
fi
- name: Install Node.js dependencies
run: npm install
run: ${{ matrix.legacy-peer-deps && 'npm install --legacy-peer-deps' || 'npm install' }}

- name: List environment
id: list_env
Expand Down

0 comments on commit d40e4b0

Please sign in to comment.