use d2l-test-runner #33
Workflow file for this run
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: CI | |
on: pull_request | |
jobs: | |
test: | |
name: Test | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Brightspace/third-party-actions@actions/checkout | |
- uses: Brightspace/third-party-actions@actions/setup-node | |
with: | |
node-version-file: .nvmrc | |
- name: Install dependencies | |
run: | | |
npm install | |
npm install @web/test-runner-playwright --no-save | |
npx playwright install --with-deps | |
- name: Lint (JavaScript) | |
run: npm run lint | |
- name: Unit Tests (cross-browser) | |
run: npm run test:unit |