Skip to content

fix(main): pkg tidy #11

fix(main): pkg tidy

fix(main): pkg tidy #11

on:
push:
jobs:
semantic-release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: latest
#[semantic-release]: node version >=20.8.1 is required. Found v18.20.5.
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: bun run test
- run: bun run build
- name: Prettify code
uses: creyD/[email protected]
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
only_changed: True
- run: npx semantic-release
env:
# reminder to setup read/write permission for this token
# here: REPO_URL/settings/actions
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}