Skip to content

Fix eslint

Fix eslint #57

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/[email protected]
- uses: ncipollo/release-action@v1
with:
tag: ${{ steps.package-version.outputs.current-version}}
artifacts: "dist/"
allowUpdates: true
removeArtifacts: true