Skip to content

✨ allow force stop #16

✨ allow force stop

✨ allow force stop #16

Workflow file for this run

name: publish
on: push
jobs:
test:
name: πŸ§ͺ Test
runs-on: ubuntu-latest
steps:
- name: πŸ‘ Checkout
uses: actions/checkout@v3
- name: πŸ§„ Use Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: πŸ“€ Install dependencies
run: bun install
- name: πŸ§ͺ Unit Tests
run: bun test
publish:
name: πŸš€ Publish
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- name: πŸ‘ Checkout
uses: actions/checkout@v3
- name: πŸš€ Publish to npm
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}