Skip to content

feat: v0.1.4 | Remove legacy method #1

feat: v0.1.4 | Remove legacy method

feat: v0.1.4 | Remove legacy method #1

Workflow file for this run

name: Build package
on:
push:
branches: [ main ]
paths-ignore:
- '*.md' # ignore changes to readmes
- '*.js' # ignore js files
pull_request:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun i
- name: Build package
run: bun run build
- name: Commit JS files
run: |
set +e
git add dist/
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
git commit -m "build: build package"
git push "https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY"