Skip to content

rollingversions_publish_approved #6

rollingversions_publish_approved

rollingversions_publish_approved #6

Workflow file for this run

name: Deploy New Version
on:
repository_dispatch:
types: [rollingversions_publish_approved]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: npm install, build, test, publish
run: |
node --version
npm --version
npm ci
npm run build --if-present
env:
CI: true
- name: rollingversions check
run: npx rollingversions publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}