Skip to content

Commit

Permalink
cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Aug 5, 2024
1 parent aaacb1c commit ac9f3ea
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: 18
cache: 'npm'
- name: Install Python dependencies
run: |
cd backend
Expand All @@ -73,12 +75,12 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'

node-version: 18
cache: 'npm'
- name: Install dependencies
run: |
yarn fyarn
Expand Down

0 comments on commit ac9f3ea

Please sign in to comment.