-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring in all libnpm modules + arborist as workspaces (#4166)
Added libnpm workspaces and arborist
- Loading branch information
Showing
5,041 changed files
with
5,234,796 additions
and
3,118 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Node Workspace CI libnpmaccess | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- workspaces/libnpmaccess/** | ||
branches: | ||
- '*' | ||
push: | ||
paths: | ||
- workspaces/libnpmaccess/** | ||
branches: | ||
- release-next | ||
- latest | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: npm | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
- name: Run linting | ||
run: node ./bin/npm-cli.js run posttest -w libnpmdiff | ||
env: | ||
DEPLOY_VERSION: testing | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x] | ||
platform: | ||
- os: ubuntu-latest | ||
shell: bash | ||
- os: macos-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: powershell | ||
|
||
runs-on: ${{ matrix.platform.os }} | ||
defaults: | ||
run: | ||
shell: ${{ matrix.platform.shell }} | ||
|
||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
|
||
# Installs the specific version of Node.js | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
# Run the installer script | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
# Run the tests, but not if we're just gonna do coveralls later anyway | ||
- name: Run Tap tests | ||
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Node Workspace CI libnpmexec | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- workspaces/libnpmexec/** | ||
branches: | ||
- '*' | ||
push: | ||
paths: | ||
- workspaces/libnpmexec/** | ||
branches: | ||
- release-next | ||
- latest | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: npm | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
- name: Run linting | ||
run: node ./bin/npm-cli.js run posttest -w libnpmdiff | ||
env: | ||
DEPLOY_VERSION: testing | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x] | ||
platform: | ||
- os: ubuntu-latest | ||
shell: bash | ||
- os: macos-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: powershell | ||
|
||
runs-on: ${{ matrix.platform.os }} | ||
defaults: | ||
run: | ||
shell: ${{ matrix.platform.shell }} | ||
|
||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
|
||
# Installs the specific version of Node.js | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
# Run the installer script | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
# Run the tests, but not if we're just gonna do coveralls later anyway | ||
- name: Run Tap tests | ||
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Node Workspace CI libnpmfund | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- workspaces/libnpmfund/** | ||
branches: | ||
- '*' | ||
push: | ||
paths: | ||
- workspaces/libnpmfund/** | ||
branches: | ||
- release-next | ||
- latest | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: npm | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
- name: Run linting | ||
run: node ./bin/npm-cli.js run posttest -w libnpmdiff | ||
env: | ||
DEPLOY_VERSION: testing | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x] | ||
platform: | ||
- os: ubuntu-latest | ||
shell: bash | ||
- os: macos-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: powershell | ||
|
||
runs-on: ${{ matrix.platform.os }} | ||
defaults: | ||
run: | ||
shell: ${{ matrix.platform.shell }} | ||
|
||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
|
||
# Installs the specific version of Node.js | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
# Run the installer script | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
# Run the tests, but not if we're just gonna do coveralls later anyway | ||
- name: Run Tap tests | ||
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Node Workspace CI libnpmhook | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- workspaces/libnpmhook/** | ||
branches: | ||
- '*' | ||
push: | ||
paths: | ||
- workspaces/libnpmhook/** | ||
branches: | ||
- release-next | ||
- latest | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: npm | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
- name: Run linting | ||
run: node ./bin/npm-cli.js run posttest -w libnpmdiff | ||
env: | ||
DEPLOY_VERSION: testing | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x] | ||
platform: | ||
- os: ubuntu-latest | ||
shell: bash | ||
- os: macos-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: powershell | ||
|
||
runs-on: ${{ matrix.platform.os }} | ||
defaults: | ||
run: | ||
shell: ${{ matrix.platform.shell }} | ||
|
||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
|
||
# Installs the specific version of Node.js | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
# Run the installer script | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
node ./bin/npm-cli.js rebuild | ||
# Run the tests, but not if we're just gonna do coveralls later anyway | ||
- name: Run Tap tests | ||
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c |
Oops, something went wrong.