Skip to content

chore(deps): update dependency @bfra.me/eslint-config to v0.4.4 #120

chore(deps): update dependency @bfra.me/eslint-config to v0.4.4

chore(deps): update dependency @bfra.me/eslint-config to v0.4.4 #120

Workflow file for this run

# Continuous Integration jobs for changes headed to main.
---
name: Main
'on':
merge_group:
pull_request:
branches: [main]
types: [opened, synchronize, ready_for_review, reopened]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Checkout Branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 📦 Enable Corepack
run: corepack enable
- name: 🏆 Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
cache: pnpm
node-version-file: '.node-version'
- name: 🧰 Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: 💅🏽 Run Prettier
run: pnpm check-format
- name: 🧹 Run ESLint
run: pnpm lint
release:
if: github.repository == 'bfra-me/.github' && github.event_name == 'push' && github.ref =='refs/heads/main'
name: Release
needs: [lint]
runs-on: ubuntu-latest
steps:
- id: get-workflow-access-token
name: Get Workflow Access Token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
with:
app-id: ${{ secrets.APPLICATION_ID }}
private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Setup Git user
run: |
git config --global user.email '118100583+bfra-me[bot]@users.noreply.github.com'
git config --global user.name 'bfra-me[bot]'
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
token: ${{ steps.get-workflow-access-token.outputs.token }}
- run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
cache: pnpm
node-version-file: '.node-version'
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
with:
commit: 'chore(changesets): publish release'
publish: pnpm release
setupGitUser: false
title: 'chore(🦋📦): publish release'
version: pnpm bump
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ steps.get-workflow-access-token.outputs.token }}