Skip to content

Automated update by SDK Generator (#172) #90

Automated update by SDK Generator (#172)

Automated update by SDK Generator (#172) #90

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Setup Node.js'
uses: actions/setup-node@v2
with:
node-version: '16.x'
cache: yarn
- name: Install dependencies
run: yarn
- name: Unit Test
run: yarn test
- name: Prepare for Publish
run: yarn prepare
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}