Skip to content

Commit

Permalink
fix(ci): set default working directory to app and cache node dependen…
Browse files Browse the repository at this point in the history
…cies
  • Loading branch information
lemilonkh committed Apr 22, 2024
1 parent e42ebe5 commit 75d1704
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Switch into app directory
run: cd app/
node-version: 20
cache: "npm"
cache-dependency-path: app/package-lock.json
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down

0 comments on commit 75d1704

Please sign in to comment.