From 65b1bb51f31bdeec8f60fee77d38bdf6af74dceb Mon Sep 17 00:00:00 2001 From: Angelo Ashmore Date: Wed, 11 Dec 2024 16:01:30 -1000 Subject: [PATCH] ci: fix secrets --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b9543c..8312232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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