chore(deps): update @wkovacs64/eslint-config to v8 #3599
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: 🤖 CI | |
| on: [push, pull_request, workflow_dispatch] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CI: true | |
| jobs: | |
| format: | |
| name: 🔤 Oxfmt | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: 💅 Format check | |
| run: pnpm run format:check | |
| lint: | |
| name: ⬣ ESLint | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: 🔬 Lint | |
| run: pnpm run lint | |
| typecheck: | |
| name: ʦ TypeScript | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: 🔎 Type check | |
| run: pnpm run typecheck | |
| test: | |
| name: 🩺 Tests | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: ⚡ Vitest with coverage | |
| run: pnpm run test:coverage | |
| build: | |
| name: ⚒️ Build | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: ⚙️ Build | |
| run: pnpm run build | |
| release: | |
| name: 🚀 Release | |
| runs-on: ubuntu-latest | |
| needs: [format, lint, typecheck, test, build] | |
| if: github.ref == 'refs/heads/main' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v7 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: 🦋 Create Release Pull Request or Publish to npm | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: pnpm run changeset:version | |
| publish: pnpm run changeset:publish | |
| commit: "chore: release" | |
| title: "chore: release" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |