Bump @swc/core from 1.7.24 to 1.9.2 #370
Workflow file for this run
This file contains 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: Code Standards & Testing' | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: '⬇️ Checkout Code' | |
uses: actions/checkout@v4 | |
- name: '💚 Use Node.js' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: '📦 Install Packages' | |
run: yarn install | |
- name: '🕵️ Code Linting & Formatting' | |
run: yarn analyze:ci | |
- name: '🟦 Typecheck' | |
run: yarn analyze:types | |
- name: '⚡️ Test' | |
run: yarn test | |
dependabot: | |
name: 'Dependabot (auto-merge)' | |
needs: [ci] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot | |
steps: | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --squash "$PR_URL" # Use GitHub CLI to automatically merge the PR | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }} |