Skip to content

Merge pull request #3 from merge-api/rmkonnur-patch-1 #2

Merge pull request #3 from merge-api/rmkonnur-patch-1

Merge pull request #3 from merge-api/rmkonnur-patch-1 #2

Workflow file for this run

name: publish
on:
push:
branches: [ main ]
jobs:
publish:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci
- run: npm run build --if-present
name: Build
env:
CI: true
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}