Refactor/three package (#251) #1089
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: formatting-check | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| jobs: | |
| check_formatting: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-versions: [20.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Setup pnpm global bin | |
| run: pnpm setup | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Node cache | |
| id: pnpm-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: "**/node_modules" | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| - name: Install dependencies | |
| if: steps.pnpm-cache.outputs.cache-hit != 'true' | |
| run: pnpm install | |
| - id: files | |
| uses: jitterbit/get-changed-files@v1 | |
| with: | |
| format: csv | |
| - name: Lint all projects | |
| run: npx nx run-many --target=lint --all --exclude docs | |
| - name: Prettier all projects | |
| run: pnpm prettier:check |