fix: ensure virtual file paths are resolved #47
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: | |
paths-ignore: ["**.md"] | |
push: | |
branches: ["main"] | |
paths-ignore: ["**.md"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14.x, 16.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use node@${{ matrix.node }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint code | |
run: npm run lint | |
- name: Run tests | |
run: npm run ci:test | |
- name: Report code coverage | |
uses: codecov/codecov-action@v2 |