➕ (deps) @biomejs/[email protected] [b] #1479
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: ' 🔀️ Push' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - canary | |
| - develop | |
| - ci/** | |
| - feat/** | |
| - feature/** | |
| - fix/** | |
| - refactor/** | |
| - release/** | |
| - NICE-** | |
| concurrency: | |
| group: push-${{ github.ref }}-1 | |
| cancel-in-progress: true | |
| env: | |
| GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }} | |
| GH_DEPLOY_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| jobs: | |
| pull: | |
| name: '👷️ CI' | |
| if: (contains(github.event.head_commit.message, '[b]') || github.ref == 'refs/heads/main') && !contains(github.event.head_commit.message, '[skip ci]') | |
| timeout-minutes: 20 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| steps: | |
| - name: '🐙️ Checkout' | |
| id: pull-checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 10 | |
| - name: '💽️ Init' | |
| id: push-init | |
| uses: JeromeFitz/packages/.github/actions/init@feat/biome | |
| - name: '📦 Install' | |
| id: push-install | |
| uses: JeromeFitz/packages/.github/actions/install@feat/biome | |
| - name: '🔺️ Cache (turbo)' | |
| id: push-cache-turbo | |
| uses: JeromeFitz/packages/.github/actions/cache-turbo@feat/biome | |
| with: | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| - name: '☣️ Biome CI' | |
| run: pnpm exec biome ci . | |
| - name: '🚨️ Lint' | |
| id: push-lint | |
| uses: JeromeFitz/packages/.github/actions/lint@feat/biome | |
| with: | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| # https://docs.github.com/en/actions/learn-github-actions/expressions | |
| - name: '📛 Commit Message' | |
| id: push-commit-message | |
| run: | | |
| echo "message=$(git log --no-merges -1 --oneline)" >> $GITHUB_OUTPUT | |
| - name: '🏗️ Build' | |
| id: push-build | |
| uses: JeromeFitz/packages/.github/actions/build@feat/biome | |
| with: | |
| BUILD_COMMAND: 'build' | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| - name: '🏗️ Build ALL' | |
| id: push-build-all | |
| if: ${{ contains(steps.push-commit-message.outputs.message, '[b]') }} | |
| uses: JeromeFitz/packages/.github/actions/build@feat/biome | |
| with: | |
| BUILD_COMMAND: 'build:all' | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| - name: '🏷️ Release' | |
| id: push-release | |
| if: ${{ contains(steps.push-commit-message.outputs.message, '[b]') }} | |
| uses: JeromeFitz/packages/.github/actions/release@feat/biome | |
| with: | |
| GH_TOKEN: ${{ env.GH_BOT_TOKEN }} | |
| NPM_TOKEN: ${{ env.NPM_TOKEN }} |