Skip to content

fix: add kusama as kusama asset hub coin #3

fix: add kusama as kusama asset hub coin

fix: add kusama as kusama asset hub coin #3

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main # main 브랜치로 머지될 때 트리거
jobs:
publish:
name: Publish npm Package
runs-on: ubuntu-latest
steps:
# 1. store checkout
- name: Checkout code
uses: actions/checkout@v3
# 2. Node.js install
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18 # 원하는 Node.js 버전
cache: 'npm'
# 3. install dependencies
- name: Install dependencies
run: npm ci
# 4. npm login
- name: Authenticate with npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > ~/.npmrc
# 5. update version and publish
- name: Publish package
run: |
npm version patch -m "Release v%s [skip ci]" # 버전 업데이트
npm publish