Skip to content

Add biconomy init option #45

Add biconomy init option

Add biconomy init option #45

Workflow file for this run

name: Publish package to NPM
on:
push:
branches:
- "master"
workflow_dispatch:
jobs:
publish_npm:
runs-on: [self-hosted, cere-io-large]
steps:
- uses: actions/checkout@v2
- name: Get Node.js version
id: nvm
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
- name: Install packages
run: npm ci
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN_READ}}
- name: Run Build
run: npm run build
- name: Publish package
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN_PUBLISH}}
run: npm publish --access public