Skip to content

Commit

Permalink
chore: adjust CI to test with refresh disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Sep 5, 2024
1 parent 5c07aeb commit 49d34f9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
cache: "pnpm"

- name: Install deps and prepare types
run: pnpm i && pnpm dev:prepare
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
cache: "pnpm"

- name: Install deps and prepare types
run: pnpm i && pnpm dev:prepare
Expand All @@ -82,7 +82,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
cache: "pnpm"

- name: Install deps
run: pnpm i
Expand All @@ -93,6 +93,13 @@ jobs:
# Check building
- run: pnpm build

# Test with refresh disabled
- name: Run Playwright tests using Vitest
run: pnpm test:e2e
env:
NUXT_AUTH_REFRESH_ENABLED: false

# Test with refresh enabled
- name: Run Playwright tests using Vitest
run: pnpm test:e2e

Expand All @@ -113,7 +120,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
cache: "pnpm"

- name: Install deps
run: pnpm i
Expand Down

0 comments on commit 49d34f9

Please sign in to comment.