init #76
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: Code Check | |
on: | |
push: | |
workflow_call: | |
jobs: | |
code-check: | |
name: Code Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Restore project deps | |
run: npm ci | |
- name: Lint check | |
run: npm run lint | |
- name: Code format check | |
run: npm run format | |
- name: Build | |
run: npm run build | |
- name: Typescript check | |
run: npm run typecheck |