try and fix demo #99
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: validate | |
on: [push, pull_request] | |
jobs: | |
run-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18', '20' ] | |
name: Node ${{ matrix.node }} test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint | |
- name: Run test | |
run: npm run test |