diff options
author | Nathan Fritz <fritzy@github.com> | 2022-01-11 22:56:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 22:56:14 +0300 |
commit | aa538df4c19f46d2e24e2635d1214176c662fcea (patch) | |
tree | c12a37177b00823388bb7bfe3d30bdec59af2434 /.github | |
parent | 5a87d190f38af9f2f98084d9b476184dbcaf1429 (diff) |
fix: added arborist action and updated template-oss (#4215)
- updated template-oss and manually added arborist ci
- updated arborist ci to include path
- fixed workspace reference and upgraded template-oss
- upgraded template-oss properly
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-libnpmaccess.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmdiff.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmexec.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmfund.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmhook.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmorg.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmpack.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmpublish.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmsearch.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmteam.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-libnpmversion.yml | 4 | ||||
-rw-r--r-- | .github/workflows/ci-npmcli-arborist.yml | 76 |
12 files changed, 98 insertions, 22 deletions
diff --git a/.github/workflows/ci-libnpmaccess.yml b/.github/workflows/ci-libnpmaccess.yml index 3e53466d9..b25bc613a 100644 --- a/.github/workflows/ci-libnpmaccess.yml +++ b/.github/workflows/ci-libnpmaccess.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmaccess env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmaccess --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmdiff.yml b/.github/workflows/ci-libnpmdiff.yml index 54b08e450..5ff0fdc9f 100644 --- a/.github/workflows/ci-libnpmdiff.yml +++ b/.github/workflows/ci-libnpmdiff.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmdiff env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmdiff --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmexec.yml b/.github/workflows/ci-libnpmexec.yml index 68d2d2242..011ae630e 100644 --- a/.github/workflows/ci-libnpmexec.yml +++ b/.github/workflows/ci-libnpmexec.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmexec env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmexec --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmfund.yml b/.github/workflows/ci-libnpmfund.yml index 1f97a4f5f..3ce4de532 100644 --- a/.github/workflows/ci-libnpmfund.yml +++ b/.github/workflows/ci-libnpmfund.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmfund env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmfund --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmhook.yml b/.github/workflows/ci-libnpmhook.yml index 250baf1a2..1cd823a43 100644 --- a/.github/workflows/ci-libnpmhook.yml +++ b/.github/workflows/ci-libnpmhook.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmhook env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmhook --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmorg.yml b/.github/workflows/ci-libnpmorg.yml index 447b764e9..e36adeda1 100644 --- a/.github/workflows/ci-libnpmorg.yml +++ b/.github/workflows/ci-libnpmorg.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmorg env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmorg --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmpack.yml b/.github/workflows/ci-libnpmpack.yml index de574966c..b2f1c3e17 100644 --- a/.github/workflows/ci-libnpmpack.yml +++ b/.github/workflows/ci-libnpmpack.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmpack env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmpack --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmpublish.yml b/.github/workflows/ci-libnpmpublish.yml index b7bed02e7..3d26cf8cd 100644 --- a/.github/workflows/ci-libnpmpublish.yml +++ b/.github/workflows/ci-libnpmpublish.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmpublish env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmpublish --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmsearch.yml b/.github/workflows/ci-libnpmsearch.yml index 752900795..08c45451d 100644 --- a/.github/workflows/ci-libnpmsearch.yml +++ b/.github/workflows/ci-libnpmsearch.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmsearch env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmsearch --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmteam.yml b/.github/workflows/ci-libnpmteam.yml index c117c625d..18a37df8c 100644 --- a/.github/workflows/ci-libnpmteam.yml +++ b/.github/workflows/ci-libnpmteam.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmteam env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmteam --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-libnpmversion.yml b/.github/workflows/ci-libnpmversion.yml index ce6b73eb9..5b4719d8b 100644 --- a/.github/workflows/ci-libnpmversion.yml +++ b/.github/workflows/ci-libnpmversion.yml @@ -30,7 +30,7 @@ jobs: 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 + run: node ./bin/npm-cli.js run posttest -w workspaces/libnpmversion env: DEPLOY_VERSION: testing @@ -73,4 +73,4 @@ jobs: # 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 + run: node ./bin/npm-cli.js run -w workspaces/libnpmversion --ignore-scripts test -- -t600 -Rbase -c diff --git a/.github/workflows/ci-npmcli-arborist.yml b/.github/workflows/ci-npmcli-arborist.yml new file mode 100644 index 000000000..d0cfbe00a --- /dev/null +++ b/.github/workflows/ci-npmcli-arborist.yml @@ -0,0 +1,76 @@ +name: Node Workspace CI @npmcli/arborist + +on: + pull_request: + paths: + - workspaces/arborist/** + branches: + - '*' + push: + paths: + - workspaces/arborist/** + 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 workspaces/arborist + 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 workspaces/arborist --ignore-scripts test -- -t600 -Rbase -c |