feat: roles array, getDirettivo, setRole into addRole, changes... #13
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Typecheck and Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| package_json_file: "backend/package.json" | |
| run_install: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: "backend/package.json" | |
| cache: pnpm | |
| cache-dependency-path: "backend/pnpm-lock.yaml" | |
| - name: Install Dependencies | |
| working-directory: backend | |
| run: pnpm install --frozen-lockfile | |
| - name: Typecheck | |
| working-directory: backend | |
| run: pnpm run typecheck | |
| - name: Run Biome | |
| working-directory: backend | |
| run: pnpm exec biome ci . |