Skip to content

Publish @iota/iscmagic #1

Publish @iota/iscmagic

Publish @iota/iscmagic #1

name: Publish @iota/iscmagic
on:
workflow_dispatch:
workflow_call:
inputs:
version:
required: true
type: string
secrets:
NPM_TOKEN:
required: true
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/vm/core/evm/iscmagic
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: "https://registry.npmjs.org"
scope: iota
- run: npm version ${{ inputs.version }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}