Skip to content

Revert "fixed updating json data" #80

Revert "fixed updating json data"

Revert "fixed updating json data" #80

Workflow file for this run

name: Node.js Package
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types: [published]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python: python2
pip: pip
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install python dependencies
run: |
${{ matrix.pip }} install --user --upgrade pip
- name: Install node
uses: actions/setup-node@v2
with:
node-version: '10.14.0'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- if: ${{ github.event_name == 'release' }}
run: yarn copy
- if: ${{ github.event_name == 'release' }}
run: >
cd dist;
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}