Skip to content

Update README.md

Update README.md #348

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- '**'
paths:
- '**'
push:
branches:
- 'develop'
paths:
- '**'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14]
timeout-minutes: 30
name: CI
steps:
- uses: actions/setup-node@v2
with:
# The Node.js version to configure
node-version: ${{ matrix.node }}
- uses: actions/checkout@v2
- name: NPM TOKEN
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: install
run: yarn
- name: build
run: yarn build
- name: lint
run: yarn lint
- name: test
run: yarn test
- name: doc
if: ${{ matrix.node == 16 }}
run: yarn doc
- name: publish npm
if: ${{ matrix.node == 16 }}
run: bash scripts/publish.sh
env:
SHA: ${{ github.event.after }}