Skip to content

Commit 5fa660f

Browse files
committed
FIX: Uhh
1 parent 4ab5a32 commit 5fa660f

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.circleci/config.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
version: 2
1+
version: 2.1
2+
orbs:
3+
node: circleci/[email protected]
24
jobs:
35
build:
46
docker:
5-
- image: circleci/node:lts
7+
- image: cmg/base:stable
68
working_directory: ~/repo
79
steps:
810
- checkout
9-
- restore_cache:
10-
keys:
11-
- v1-dependencies-{{ checksum "package.json" }}
12-
# fallback to using the latest cache if no exact match is found
13-
- v1-dependencies-
14-
- run: npm install
11+
- node/install:
12+
install-yarn: true
13+
node-version: '20.18.1'
14+
- run: node --version && npm install
1515
- run: |
1616
mkdir ~/my_test_artifacts
1717
echo "This should point to root_artifact.md for commit ${CIRCLE_SHA1}" > ~/my_test_artifacts/root_artifact.md
18-
- save_cache:
19-
paths:
20-
- node_modules
21-
key: v1-dependencies-{{ checksum "package.json" }}
2218
- run: npm test
2319
- store_artifacts:
2420
path: ~/my_test_artifacts

0 commit comments

Comments
 (0)