Skip to content

v1.36.2

v1.36.2 #159

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
version: 16.x
- name: Build and Test
run: |
yarn install
yarn run build --if-present
yarn test
env:
CI: true
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}