Skip to content

feat: add npm badges to API README (#257) #60

feat: add npm badges to API README (#257)

feat: add npm badges to API README (#257) #60

Workflow file for this run

name: Publish API to NPM
on:
push:
paths:
- "api/**"
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish if version has been updated
uses: pascalgn/[email protected]
with:
create_tag: false
workspace: ./api/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}