Added workflow and fixed bug with command handling

This commit is contained in:
2025-01-15 14:50:48 -05:00
parent be82580f90
commit 1aa0fbb9e2
6 changed files with 27 additions and 22 deletions
+11 -10
View File
@@ -4,14 +4,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn build
# - run: yarn test
- run: yarn publish --access public
# Pull repo
- uses: actions/checkout@v2
# Install bun
- uses: oven-sh/setup-bun@v2
# Run tests
# TODO: Add tests
# Build
- run: bun build
# Publish
- run: bun publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/_authToken=${{ secrets.NPM_TOKEN }}