Update version #182
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: Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
cache: npm | |
- name: Versions | |
run: node -v && npm -v | |
- name: Install packages | |
run: npm run repo:init | |
- name: Eslint | |
run: npm run eslint:check | |
- name: Run Playwright Tests | |
run: npm run tests:run | |
- uses: actions/upload-artifact@v3 | |
if: ${{ failure() }} | |
with: | |
name: artifacts | |
path: | | |
dist | |
playwright-report/ | |
retention-days: 30 |