feat: add preprocessors #24
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: Verify changes | |
on: pull_request | |
jobs: | |
verify: | |
name: Verify changes | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Linting & Formatting | |
run: npm run lint | |
- name: Tests | |
run: npm run test | |
# in case we use playwright & @web/test-runner in the future | |
# - name: Install chromium | |
# run: npx playwright install-deps chromium |