mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 21:54:47 +08:00
- Escodegen drops Node 6 support (unaffected) and introduces support for optional chaining - Recast drops Node <9 support (unaffected) DISABLE_THIRD_PARTY_CHECK=NPM updates R=jacktfranklin@chromium.org Change-Id: I9eb8d294d3ad87a6469da9e0bc1114563abd4f07 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2537955 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
30 lines
617 B
YAML
30 lines
617 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
node_version: ['10', '12', '14']
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
- name: npm install, build and test
|
|
run: |
|
|
npm install
|
|
npm run build --if-present
|
|
npm test
|