2.2.0-alpha10 #184
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: Validation | |
on: | |
push: | |
branches: ['main', '1.3', '2.0', '2.1'] | |
paths-ignore: | |
- 'README.md' | |
- '.github/ISSUE_TEMPLATE/*' | |
pull_request: | |
branches: ['main', '1.3', '2.0', '2.1'] | |
paths-ignore: | |
- 'README.md' | |
- '.github/ISSUE_TEMPLATE/*' | |
jobs: | |
test: | |
name: Validation | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Install Chrome | |
uses: browser-actions/setup-chrome@v1 | |
- name: Checkout Project Code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies | |
run: npm ci | |
- name: Validate | |
run: npm run validate | |
- name: Test | |
run: npm run test:coverage | |
- name: Collect coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: .coverage/lcov.info | |
flags: unittests |