Skip to content

Make checkbox more generic #155

Make checkbox more generic

Make checkbox more generic #155

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when package.json version is updated
name: Publish package
on:
push:
paths:
[
'src/**',
'test/**',
'package.json',
'tsconfig.json',
'bun.lockb',
'.github/workflows/npm-publish.yml'
]
branches:
- main
release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run test run
- run: bun package
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.npm_token }}
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}