Merge pull request #33 from helix-bridge/xiaoch05-add-morph #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Publish' | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
publish-npm: | |
name: Publish NPM | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Deps | |
run: npm i | |
- name: Build template | |
run: npm run build:ts | |
- name: Setup npm token | |
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | |
- name: Publish ts | |
run: | | |
cd generated/typescript | |
npm publish --access=public | |