mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
This CL contains the output of running `npm run install-deps` on NPM 7.4.5. This includes a version bump of the package-lock.json, which means all DevTools engineers who run `npm run install-deps` should use NPM 7+. Additionally, this allows `npm run dedupe` to produce a better output and remove more duplicate packages. For more information, see https://github.com/eslint/eslint/issues/14098 DISABLE_THIRD_PARTY_CHECK=NPM update R=jacktfranklin@chromium.org Bug: none Change-Id: Id1ca2f33f3bb7d555dca1c0737d38bc1c7f5221c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2705386 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
name: 'Tests: node.js (io.js)'
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
matrix:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
latest: ${{ steps.set-matrix.outputs.requireds }}
|
|
minors: ${{ steps.set-matrix.outputs.optionals }}
|
|
steps:
|
|
- uses: ljharb/actions/node/matrix@main
|
|
id: set-matrix
|
|
with:
|
|
preset: 'iojs'
|
|
|
|
latest:
|
|
needs: [matrix]
|
|
name: 'latest minors'
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix: ${{ fromJson(needs.matrix.outputs.latest) }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ljharb/actions/node/run@main
|
|
name: 'npm install && npm run tests-only'
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
command: 'tests-only'
|
|
skip-ls-check: true
|
|
|
|
minors:
|
|
needs: [matrix, latest]
|
|
name: 'non-latest minors'
|
|
continue-on-error: true
|
|
if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix: ${{ fromJson(needs.matrix.outputs.minors) }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ljharb/actions/node/run@main
|
|
name: 'npm install && npm run tests-only'
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
command: 'tests-only'
|
|
skip-ls-check: true
|
|
|
|
node:
|
|
name: 'io.js'
|
|
needs: [latest, minors]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo tests completed'
|