Pin [email protected] #230
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: Node CI | |
on: [push] | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, 20] | |
name: Node v${{ matrix.node }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: yarn | |
- name: Run lint | |
run: yarn lint | |
- name: Run tests | |
run: yarn test |