chore: sync package-lock.json and fix TypeScript errors (#297) #64
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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 }} |