Skip to content

Commit

Permalink
fix: update circleci config with latest node and cypress orb. update …
Browse files Browse the repository at this point in the history
…jest version.
  • Loading branch information
Adam Murray committed Oct 13, 2022
1 parent 2adfce8 commit 9fb1ea6
Show file tree
Hide file tree
Showing 3 changed files with 75,865 additions and 9,530 deletions.
50 changes: 23 additions & 27 deletions circle.yml → .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
version: 2.1
orbs:
node: circleci/node@1.1.6
cypress: cypress-io/cypress@1
node: circleci/node@5.0.3
cypress: cypress-io/cypress@2
jobs:
build:
executor:
name: node/default
tag: '12'
tag: '16'
steps:
- checkout
- node/with-cache:
steps:
- run: npm ci
- run:
name: show package contents 📦
command: npm pack --dry
- run:
name: unit tests 🧪
command: npm run test:unit
- node/install-packages
- run:
name: show package contents 📦
command: npm pack --dry
- run:
name: unit tests 🧪
command: npm run test:unit

release:
executor:
name: node/default
tag: '12'
tag: '16'
environment:
# since we do not need Cypress to publish the NPM package
# we can skip the binary download
Expand All @@ -32,9 +30,7 @@ jobs:

steps:
- checkout
- node/with-cache:
steps:
- run: npm ci
- node/install-packages
# allow CircleCI to release beta versions
# from pull request build jobs
- run:
Expand All @@ -47,7 +43,7 @@ jobs:
CI_PULL_REQUEST:

'basic test':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -60,7 +56,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'recommended test':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -73,7 +69,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'recording test':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -86,7 +82,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'test-twice':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -99,7 +95,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'test-prebuild-only':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -112,7 +108,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'test-postbuild-start':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -125,7 +121,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'test-using-chromium':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -138,7 +134,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'test-netlify-dev':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -151,7 +147,7 @@ jobs:
DEBUG: netlify-plugin-cypress

'html-pages':
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -164,7 +160,7 @@ jobs:
DEBUG: netlify-plugin-cypress

routing:
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand All @@ -177,7 +173,7 @@ jobs:
DEBUG: netlify-plugin-cypress

config-file:
executor: cypress/base-12-14-0
executor: cypress/base-16-14-2-slim
steps:
# all dependencies were installed in previous job
- attach_workspace:
Expand Down
Loading

0 comments on commit 9fb1ea6

Please sign in to comment.