Skip to content

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

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

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

Workflow file for this run

name: Publish Package to npm
on:
push:
tags:
- 'v*'
workflow_dispatch:
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.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci
- name: build tokens
run: npm run build:tokens
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.UBIE_NPM_TOKEN }}