Feat switch back to doc version #122
Workflow file for this run
This file contains hidden or 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 | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.50.1-noble | |
| options: --user 1001 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-node-env | |
| - name: Run unit tests | |
| run: npm run-script test:unit | |
| - name: Run ESLint checks | |
| run: npm run-script lint | |
| - name: Run visual regression tests on PR | |
| if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' | |
| run: npm run-script test:visual |