Skip to content

chore(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.11.0 #64

chore(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.11.0

chore(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.11.0 #64

Workflow file for this run

name: Build & Release
on:
push:
branches: [main, alpha, beta, rc]
pull_request:
branches: [main]
types: [opened, synchronize, closed]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run lint πŸ”
run: yarn lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x, 18.x ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run Test πŸ”
run: yarn test
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run Build 🚧
run: yarn build
dependabot:
name: 'Dependabot'
needs: [ lint, test, build ] # After the E2E and build jobs, if one of them fails, it won't merge the PR.
runs-on: ubuntu-latest
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 --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
release:
runs-on: ubuntu-latest
needs: [ test, lint, build ]
permissions:
contents: write
pages: write
id-token: write
issues: write
pull-requests: write
if: ${{ github.event_name != 'pull_request' && (contains(github.ref, 'main') || contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc')) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run Build 🚧
run: yarn build
- name: Release packages πŸ”–
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: yarn release
- name: Run Publish πŸ”–
run: npm publish --access public
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}