Skip to content

Commit 410df77

Browse files
committed
ci: Updating build image to use new provided images and newer node version
Replacing 'npm install' with 'npm ci' in build
1 parent c34c085 commit 410df77

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.circleci/config.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:14.17.6
5+
- image: cimg/node:18.18
66
working_directory: ~/repo
77
steps:
88
- checkout
99
- restore_cache:
1010
keys:
11-
- v1-dependencies-{{ checksum "package.json" }}
12-
# fallback to using the latest cache if no exact match is found
13-
- v1-dependencies-
11+
- v1-dependencies-{{ checksum "package.json" }}
12+
# fallback to using the latest cache if no exact match is found
13+
- v1-dependencies-
1414
- run:
1515
name: Install Dependencies
1616
command: |
17-
npm install
17+
npm ci
1818
- save_cache:
1919
paths:
2020
- ./node_modules
@@ -34,19 +34,19 @@ jobs:
3434
3535
release:
3636
docker:
37-
- image: circleci/node:14.17.6
37+
- image: cimg/node:18.18
3838
working_directory: ~/repo
3939
steps:
4040
- checkout
4141
- restore_cache:
4242
keys:
43-
- v1-dependencies-{{ checksum "package.json" }}
44-
# fallback to using the latest cache if no exact match is found
45-
- v1-dependencies-
43+
- v1-dependencies-{{ checksum "package.json" }}
44+
# fallback to using the latest cache if no exact match is found
45+
- v1-dependencies-
4646
- run:
4747
name: Install Dependencies
4848
command: |
49-
npm install
49+
npm ci
5050
- run:
5151
name: Build
5252
command: |
@@ -66,4 +66,4 @@ workflows:
6666
- build
6767
filters:
6868
branches:
69-
only: master
69+
only: master

0 commit comments

Comments
 (0)