Convert project to Node.js v20 and many more updates ✨ #43
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: Format Check, Lint, Type Check, and Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
env: | |
HUSKY: 0 | |
jobs: | |
format-check-lint-type-check-test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Type Check | |
run: npm run type-check | |
- name: Test | |
run: npm run test |