Skip to content

Add workflow and change kuber response type #1

Add workflow and change kuber response type

Add workflow and change kuber response type #1

Workflow file for this run

name: Build and Publish to npmjs
on:
push:
tags:
- 'v*.*.*' # Adjust the tag pattern as needed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Build project
run: yarn build
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.CARDANOPI_NPM_TOKEN }}
run: yarn publish --access public