Skip to content

Merge pull request #1 from LISTENAI/ci #1

Merge pull request #1 from LISTENAI/ci

Merge pull request #1 from LISTENAI/ci #1

Workflow file for this run

name: publish-beta
on:
push:
tags: ['v*']
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: NPM config
run: |
npm config set //registry-lpm.listenai.com/:_password ${{ secrets.LPM_ZHUOBIN_TOKEN }}
npm config set //registry-lpm.listenai.com/:username zbzhao
npm config set //registry-lpm.listenai.com/:email zbzhao@listenai.com
npm config set //registry-lpm.listenai.com/:always-auth true
- run: npm install
- run: npm run prepack
# - run: npm publish --tag=beta --registry=https://registry-lpm.listenai.com
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
tag: 'beta'