Skip to content

Commit

Permalink
ci: yarn --ignore-engines
Browse files Browse the repository at this point in the history
Resolves:

 error [email protected]: The engine "node" is incompatible with this module. Expected version "^14 || ^16 || ^17 || ^18 || ^19 || ^20". Got "22.9.0"

ignore-engines is default behavior in newer yarn versions.
  • Loading branch information
legobeat committed Oct 3, 2024
1 parent 72c3b51 commit 603d9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
path: ${{ steps.yarn-cache-dir.outputs.YARN_CACHE_DIR }}
key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn --frozen-lockfile --ignore-engines
- run: yarn allow-scripts
- run: yarn build
- run: yarn lint
Expand Down

0 comments on commit 603d9c5

Please sign in to comment.