72 the azure pw test run id is not available as a variable for other tasks #43
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '>=18' | |
- name: Install dependencies | |
run: yarn | |
- name: Install Playwright | |
run: npx playwright install chromium | |
- name: Build project | |
run: yarn build | |
- name: Run tests | |
run: yarn test:reporter |