Skip to content

1.18.2

1.18.2 #76

Workflow file for this run

name: npm Publish [released]
on:
release:
types: [released]
jobs:
publish-npm:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- run: |
npm install
npm test
npm run build:cli
npm pack
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}