Skip to content

Commit

Permalink
CI: Fix CI invalid yaml (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazipan authored Nov 24, 2024
1 parent 420290a commit 84bb263
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,36 @@ jobs:
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Install headless browser
run: pnpm exec playwright install --with-deps

- name: Smoke test
run: pnpm run test:e2e

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
- artifact_name: 'playwright-report'
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Install headless browser
run: pnpm exec playwright install --with-deps

- name: Smoke test
run: pnpm run test:e2e

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
id: deployment
with:
artifact_name: 'playwright-report'

0 comments on commit 84bb263

Please sign in to comment.