Initial commit

This commit is contained in:
2025-06-05 06:42:22 -07:00
committed by GitHub
commit cb5467f5cc
5 changed files with 74 additions and 0 deletions

28
.github/workflows/npm-publish.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Publish to NPM
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci || npm install
- name: Run pack
run: npm run bundle
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}