chore: release v15.0.2 #3
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: Code Quality Checks | |
| on: [workflow_dispatch, pull_request, push] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linting: | |
| name: ESLint | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "lts/*" | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v4 | |
| name: Yarn Cache | |
| id: yarn-cache | |
| with: | |
| path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Yarn Install | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 3 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn --no-audit --prefer-offline | |
| - name: Lint | |
| run: yarn lint | |
| typescript: | |
| name: Types Build Validation | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "lts/*" | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v4 | |
| name: Yarn Cache | |
| id: yarn-cache | |
| with: | |
| path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Yarn Install | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 3 | |
| retry_wait_seconds: 30 | |
| max_attempts: 3 | |
| command: yarn --no-audit --prefer-offline | |
| - name: Lint | |
| run: yarn analyze |