Skip to content

Commit

Permalink
cache node modules on github actions (#4695)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek authored Dec 5, 2024
1 parent 7cd607d commit 07d5daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '14.x'
cache: 'npm'
# avoid file watch limit error
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- run: npm ci
Expand All @@ -26,6 +27,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '14.x'
cache: 'npm'
- name: Start e2e server
run: |
docker compose pull
Expand Down

0 comments on commit 07d5daf

Please sign in to comment.