Skip to content

Commit

Permalink
ci: Changed order of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Joery-M committed Apr 22, 2024
1 parent 5b2a06e commit 30bf993
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --ignore-scripts

- name: Get installed Playwright version
run: echo "PLAYWRIGHT_VERSION=$(pnpm ls -r | grep playwright | sed 's/.* //')" >> $GITHUB_ENV

Expand All @@ -52,16 +55,13 @@ jobs:
id: playwright-cache
with:
path: '~/.cache/ms-playwright'
key: '${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}'
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright's dependencies
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Install dependencies
run: pnpm install --ignore-scripts
run: pnpm exec playwright install --with-deps

- name: Build Darkroom
run: pnpm build:darkroom
Expand Down

0 comments on commit 30bf993

Please sign in to comment.