Skip to content

Automated update by SDK Generator (#149) #69

Automated update by SDK Generator (#149)

Automated update by SDK Generator (#149) #69

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: '14.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 }}