add custom wrapper around slugify function #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "🚀 Publish to NPM" | |
on: | |
push: | |
branches: [main] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- uses: oven-sh/setup-bun@v1 | |
- run: bun i && bun test && bun run build | |
- uses: JS-DevTools/npm-publish@v2 | |
with: | |
access: "public" | |
token: ${{ secrets.NPM_TOKEN }} |