Skip to content

feat: rb sync cluster #1363

feat: rb sync cluster

feat: rb sync cluster #1363

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
build-and-publish:
name: Build and Publish to NPM Registry
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Execute test cases
run: npm test
- name: Build Lib
run: npm run build-lib
- name: Publish to NPM Registry
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}