Skip to content

Merge pull request #60 from ubie-oss/takanorip-patch-1 #9

Merge pull request #60 from ubie-oss/takanorip-patch-1

Merge pull request #60 from ubie-oss/takanorip-patch-1 #9

Workflow file for this run

name: Publish Package to npm
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci
- name: build
run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.UBIE_NPM_TOKEN }}