Breaking: upgrade to abstract-level 2 (#16) #26
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 | |
on: push | |
concurrency: test | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Playwright | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: npm install --ignore-scripts | |
- name: Add host | |
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts | |
- name: Install Playwright dependencies | |
run: npx --no-install playwright install-deps | |
- name: Install Playwright | |
run: npx --no-install playwright install | |
- name: Test | |
run: npm test | |
- name: Coverage | |
run: npm run coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: coverage/lcov.info |