Skip to content

Merge pull request #8 from naftusdev/patch_pomelo #11

Merge pull request #8 from naftusdev/patch_pomelo

Merge pull request #8 from naftusdev/patch_pomelo #11

Workflow file for this run

name: Publish Package to NPM
on: [push]
jobs:
build:
name: "Build & Publish"
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '(publish)')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}