Skip to content

chore(deps): bump zod from 3.21.4 to 3.22.3 (#25) #88

chore(deps): bump zod from 3.21.4 to 3.22.3 (#25)

chore(deps): bump zod from 3.21.4 to 3.22.3 (#25) #88

Workflow file for this run

name: build and commit
on:
push:
branches:
- "*"
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🟧 Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: 📦 Build
run: pnpm run build
- name: 📝 Commit and push changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add .
if [ -z "$(git status --porcelain)" ]; then
echo "💿 no changes to commit"
exit 0
fi
git commit -a -m "build: update"
git push
echo "💿 pushed build https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"