Skip to content

Commit

Permalink
cache node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
koyopro committed Jan 9, 2025
1 parent 78f58ce commit 1238ee2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ jobs:
POSTGRES_PASSWORD: password
steps:
- checkout
- restore_cache:
keys:
- v1-node-modules-{{ checksum "package-lock.json" }}
- v1-node-modules-
- run: sudo apt-get update && sudo apt-get install -y cpio
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-node-modules-{{ checksum "package-lock.json" }}
- run: npm run build
- run: npm run test -w accel-web
- run: npm run generate:mysql
Expand Down

0 comments on commit 1238ee2

Please sign in to comment.