Skip to content

Commit

Permalink
Updated CircleCI orbs and added missing npm install step.
Browse files Browse the repository at this point in the history
  • Loading branch information
shirblc committed Feb 4, 2024
1 parent 0f5eede commit 94d8cb3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
version: 2.1
orbs:
node: circleci/[email protected]
browser-tools: circleci/[email protected]
cypress: cypress-io/cypress@1
codecov: codecov/codecov@3.1.1
cypress: cypress-io/cypress@3.3.0
codecov: codecov/codecov@4.0.1
jobs:
format:
docker:
- image: cimg/node:lts
steps:
- checkout
- restore_cache:
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
paths:
- "node_modules"
- run: npx prettier --check .
test:
docker:
Expand Down

0 comments on commit 94d8cb3

Please sign in to comment.