Skip to content

Commit

Permalink
ci(): use next-gen convenience image; update npm version without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
wodCZ authored Jul 17, 2022
1 parent 7709b92 commit 02636a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
build:
working_directory: ~/nest
docker:
- image: circleci/node:17
- image: cimg/node:17.9
steps:
- checkout
- run:
name: Update NPM version
command: 'sudo npm install -g npm@latest'
command: npm install -g npm@latest
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
Expand All @@ -38,7 +38,7 @@ jobs:
test:
working_directory: ~/nest
docker:
- image: circleci/node:17
- image: cimg/node:17.9
steps:
- checkout
- *restore-cache
Expand Down

0 comments on commit 02636a2

Please sign in to comment.