added profile #24
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: Beavs AI Continuous Integration | |
env: | |
HUSKY: 0 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Clean install dependencies | |
run: npm ci --legacy-peer-deps --no-audit | |
- name: Run lint | |
run: npm run lint | |
- name: Check format | |
run: npm run check-format | |
- name: Type-check | |
run: npm run type-check | |
- name: Build project | |
run: npm run build |