Skip to content

Commit

Permalink
ci: fix secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Dec 12, 2024
1 parent 5d3b973 commit 65b1bb5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ jobs:
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
PLAYWRIGHT_PRISMIC_USERNAME: ${{ secrets.PLAYWRIGHT_PRISMIC_USERNAME }}
PLAYWRIGHT_PRISMIC_PASSWORD: ${{ secrets.PLAYWRIGHT_PRISMIC_PASSWORD }}
- run: npm ci --prefix e2e-projects/app-router && npm ci --prefix e2e-projects/pages-router
- run: npx playwright install --with-deps
- run: npm run lint
- run: npm run build
- run: npm run e2e
env:
PLAYWRIGHT_PRISMIC_USERNAME: ${{ secrets.PLAYWRIGHT_PRISMIC_USERNAME }}
PLAYWRIGHT_PRISMIC_PASSWORD: ${{ secrets.PLAYWRIGHT_PRISMIC_PASSWORD }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- run: npm run build
- run: npm run e2e
- uses: codecov/codecov-action@v5
if: matrix.os == 'ubuntu-latest' && matrix.node == 22
- uses: andresz1/size-limit-action@v1
Expand Down

0 comments on commit 65b1bb5

Please sign in to comment.