chore(deps): update dependencies #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-e2e | |
on: push | |
env: | |
FOLDER_PATH_TEST_E2E_REPORT: ./test-e2e-report | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧 | |
uses: ./.github/workflows/actions/setup_node-cache_dep-install_dep | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Test E2E 🧪 | |
run: npx playwright test | |
# run: npm run test-e2e | |
- name: Upload report 📈 | |
uses: nwtgck/actions-netlify@v3 | |
# Upload test report also in case of test failure. | |
if: always() | |
with: | |
publish-dir: ${{ env.FOLDER_PATH_TEST_E2E_REPORT }} | |
production-deploy: true | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_TEST_E2E_REPORT }} |