Skip to content

Commit

Permalink
Ignore engines while testing against EoL Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Oct 28, 2023
1 parent 20a49ba commit 430ed26
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ executors:
commands:
install:
parameters:
force:
type: boolean
default: false
postinstall:
type: steps
default: []
Expand All @@ -45,7 +48,7 @@ commands:
- v2.4-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }}-
- v2.4-dependencies-{{ .Environment.CIRCLE_JOB }}-

- run: yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile <<# parameters.force >>--ignore-engines<</ parameters.force >>
- steps: << parameters.postinstall >>

- save_cache:
Expand All @@ -65,11 +68,15 @@ commands:
browser:
type: boolean
default: false
force:
type: boolean
default: false
steps:
- run: node --version

- checkout
- install
- install:
force: << parameters.force >>

- when:
condition: << parameters.browser >>
Expand Down Expand Up @@ -185,6 +192,7 @@ jobs:
version: '16.18'
steps:
- test:
force: true
browser: true

test-node18:
Expand Down

0 comments on commit 430ed26

Please sign in to comment.