Skip to content

Commit

Permalink
Migrate CircleCI legacy to new convinience images and also Node.js v20
Browse files Browse the repository at this point in the history
  • Loading branch information
paazmaya committed Jun 5, 2023
1 parent 685aae4 commit b0c97ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2.1
jobs:
build:
docker:
- image: circleci/node:16.13
- image: cimg/node:20.2

working_directory: ~/repo

Expand All @@ -16,16 +16,16 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v16-dependencies-{{ checksum "package.json" }}
- v20-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v16-dependencies-
- v20-dependencies-

- run: npm install

- save_cache:
paths:
- node_modules
key: v16-dependencies-{{ checksum "package.json" }}
key: v20-dependencies-{{ checksum "package.json" }}

- run: npm run lint
- run: npm test
3 changes: 3 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = 1
name = "javascript"
enabled = true

[analyzers.meta]
environment = ["nodejs"]

[[analyzers]]
name = "test-coverage"
enabled = true

0 comments on commit b0c97ed

Please sign in to comment.