Skip to content
Prev Previous commit
Next Next commit
Update Semaphore configuration
  • Loading branch information
regostar committed Feb 25, 2025
commit 75ec74f92ced92915d5927324387bd4034c71f53
2 changes: 2 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ blocks:
- name: client npm install and cache
commands:
- cd src/client
- nvm install
- 'cache restore client-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),client-node-modules-$SEMAPHORE_GIT_BRANCH,client-node-modules-master'
- npm install
- cache store client-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json) node_modules
- name: server npm install and cache
commands:
- cd src/server
- nvm install
- 'cache restore server-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),server-node-modules-$SEMAPHORE_GIT_BRANCH,server-node-modules-master'
- npm install --legacy-peer-deps
- cache store server-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json) node_modules
Expand Down