Skip to content

Merge pull request #164 from apideck-libraries/generator-update #82

Merge pull request #164 from apideck-libraries/generator-update

Merge pull request #164 from apideck-libraries/generator-update #82

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 }}