Add issue templates, code of conduct, contribution guide, and privacy… #12
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 Quality | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check-code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ./client/.nvmrc | |
- name: Install dependencies | |
run: npm install | |
working-directory: ./client | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: rustfmt | |
- name: Lint | |
run: npm run lint | |
working-directory: ./client | |
- name: Check formatting | |
run: npm run format:check | |
working-directory: ./client | |
- name: Type check | |
run: npm run typecheck | |
working-directory: ./client |