Skip to content

Merge pull request #6 from klippa-app/hardcode-api-url #7

Merge pull request #6 from klippa-app/hardcode-api-url

Merge pull request #6 from klippa-app/hardcode-api-url #7

Workflow file for this run

name: NPM Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: "./package.json"
registry-url: https://registry.npmjs.org
always-auth: true
- run: npm install
- run: npm run build
- run: npm run copy-api
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}