Dependency(deps): bump actions/checkout from 3 to 4 #1187
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: Check Lint and Format | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: npm install | |
run: npm ci | |
- name: check format | |
run: npm run check-format | |
- name: check lint | |
run: npm run check-lint | |
- name: typecheck | |
run: npm run typecheck |