fix roster duplication #361
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 and Styles | |
on: | |
push: | |
jobs: | |
code-quality-and-style: | |
strategy: | |
matrix: | |
project: | |
- packages/backend | |
- packages/frontend | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 21 | |
- name: Install Tools | |
run: | | |
echo "Installing tools..." | |
npm install -g pnpm eslint | |
- name: Install dependencies | |
run: | | |
echo "Installing dependencies..." | |
cd ${{ matrix.project }} | |
yarn install | |
- name: Style Check | |
run: | | |
echo "Running style check..." | |
cd ${{ matrix.project }} | |
yarn style | |
- name: Lint | |
run: | | |
echo "Running lint..." | |
cd ${{ matrix.project }} | |
yarn lint | |
- name: Build | |
run: | | |
echo "Running build..." | |
cd ${{ matrix.project }} | |
yarn build | |
# - name: Test | |
# run: | | |
# cd ${{ matrix.project }} | |
# yarn test --all | |
- name: Clean up | |
run: | | |
echo "Cleaning up..." | |
cd ${{ matrix.project }} | |
rm -f eslint-report.json |