Skip to content

Merge pull request #156 from reg-viz/renovate/pretty-quick-3.x #400

Merge pull request #156 from reg-viz/renovate/pretty-quick-3.x

Merge pull request #156 from reg-viz/renovate/pretty-quick-3.x #400

Workflow file for this run

name: publish
on: push
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm publish
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
npm whoami
yarn --frozen-lockfile
yarn build
npm publish
if: contains(github.ref, 'tags/v')
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
CI: true