chore(deps): update dependency @hexadrop/eslint-config to v1 - autoclosed #665
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: Continuous integration | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| types: [ opened, synchronize ] | |
| jobs: | |
| check: | |
| name: Code check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| strategy: | |
| matrix: | |
| command: [ lint, typecheck, test ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: ${{ matrix.command }} | |
| run: bun run ${{ matrix.command }} | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'push' }} | |
| needs: [ check ] | |
| permissions: | |
| contents: 'write' | |
| id-token: 'write' | |
| issues: 'write' | |
| pull-requests: 'write' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Create Release Pull Request or Publish to npm | |
| uses: changesets/action@v1 | |
| with: | |
| publish: bun changeset publish | |
| version: bun changeset version | |
| commit: 'chore: release' | |
| title: 'chore: release' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |