Skip to content

Commit

Permalink
chore: use --legacy-peer-deps temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Feb 7, 2024
1 parent d45913d commit 211db53
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
continue-on-error: true
run: npm list

- run: npm ci
# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run build:all
env:
CI: true
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ jobs:
continue-on-error: true
run: npm list

- run: npm ci

# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run test:e2e
3 changes: 2 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
continue-on-error: true
run: npm list

- run: npm ci
# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run format
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
continue-on-error: true
run: npm list

- run: npm ci
# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run lint
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
continue-on-error: true
run: npm list

- run: npm ci

# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run build
- run: npm test
env:
Expand Down
3 changes: 2 additions & 1 deletion tools/gulp/tasks/samples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ async function executeNpmScriptInSamples(
}

task('install:samples', async () =>
executeNpmScriptInSamples('npm install --legacy-peer'),
// FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
executeNpmScriptInSamples('npm install --legacy-peer-deps'),
);
task('build:samples', async () => executeNpmScriptInSamples('npm run build'));
task('test:samples', async () =>
Expand Down

0 comments on commit 211db53

Please sign in to comment.