Skip to content

2.10.0

2.10.0 #5

Workflow file for this run

name: publish
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci
- run: npm run pm2:api
- run: npm test -- --watchAll=false
- run: npm run build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish ./ --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}