Skip to content

build(deps): bump valibot from 0.30.0 to 0.42.1 #58

build(deps): bump valibot from 0.30.0 to 0.42.1

build(deps): bump valibot from 0.30.0 to 0.42.1 #58

Workflow file for this run

name: Release
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --no-save
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: bun run commitlint --from=origin/main --to=HEAD
- name: Validate code formatting
run: |
bun run format
if [[ $(git status --porcelain) ]]; then
echo "Code not properly formatted. Please run 'bun run format' locally and commit changes."
exit 1
fi
- name: Lint & check types
run: bun run check
- name: Test
run: bun test
Release:
needs: [Test]
permissions:
contents: write
issues: write
pull-requests: write
if: |
github.ref == 'refs/heads/main' &&
github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bun run semantic-release