Skip to content

build(deps): bump the actions group across 1 directory with 6 updates… #24

build(deps): bump the actions group across 1 directory with 6 updates…

build(deps): bump the actions group across 1 directory with 6 updates… #24

Workflow file for this run

# local build for automation repo scripts
name: build
on:
push:
branches: [main]
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: bot-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ steps.bot-token.outputs.token }}
- name: Setup PNPM
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Commit dist
run: |
git config user.name "bombshell-bot"
git config user.email "bombshell-bot[bot]@users.noreply.github.com"
git add -f dist/
git diff --staged --quiet && echo "No changes" || git commit -m "[ci] build" && git push