Skip to content

Use redlotus commonJS package instead and use npm #5

Use redlotus commonJS package instead and use npm

Use redlotus commonJS package instead and use npm #5

Workflow file for this run

name: release-package
on:
push:
branches:
- "main"
jobs:
publish-packages:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
registry-url: https://registry.npmjs.org
- run: npm i
- run: npm run build
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}