Skip to content

[Optimization] Optimizing PromiseRender.js Deprecated React Lifecycle #636

[Optimization] Optimizing PromiseRender.js Deprecated React Lifecycle

[Optimization] Optimizing PromiseRender.js Deprecated React Lifecycle #636

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- master
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
if: matrix.node-version == '12.x'
- run: npm run build --if-present