Skip to content

chore: add "Buy me a coffee" (#41) #14

chore: add "Buy me a coffee" (#41)

chore: add "Buy me a coffee" (#41) #14

Workflow file for this run

name: Build and Release NPM Package
on:
push:
branches: [main]
create:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci
- run: npm run build
- run: npm run test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}