Skip to content

Clean up some minor issues; add ai? tests? #63

Clean up some minor issues; add ai? tests?

Clean up some minor issues; add ai? tests? #63

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
jobs:
test-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm i
- run: bun run test
- run: bun run build
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
- uses: ncipollo/release-action@v1
with:
tag: ${{ steps.package-version.outputs.current-version}}
allowUpdates: true
removeArtifacts: true