Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 7504b9a

Browse files
committed
Update package-lock.json & use in cache key, add eslint to dependencies.
1 parent 73ca614 commit 7504b9a

File tree

3 files changed

+12496
-4759
lines changed

3 files changed

+12496
-4759
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
command: echo $CIRCLE_JOB > circlejob.txt
2020

2121
- restore_cache:
22-
key: deps1-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
22+
key: deps1-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
2323

2424
- run:
2525
name: Install dependencies
@@ -30,7 +30,7 @@ jobs:
3030
npm install --ignore-scripts
3131
3232
- save_cache:
33-
key: deps1-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
33+
key: deps1-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
3434
paths:
3535
- "venv"
3636
- "node_modules"
@@ -41,10 +41,13 @@ jobs:
4141
npm run build:js
4242
npm run build:py
4343
44+
- run:
45+
name: npm test
46+
command: npm test
47+
4448
- run:
4549
name: Run tests
4650
command: |
47-
npm run test
4851
. venv/bin/activate
4952
python --version
5053
python -m unittest test.test_integration

0 commit comments

Comments
 (0)