Skip to content

🩹 bun emoji

🩹 bun emoji #23

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: 🧪 Unit Tests
run: bun test --coverage
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 }}