-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: @npmcli/template-oss@3.2.2 #4639
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -1,149 +1,114 @@ | ||
name: Node CI | ||
name: CI - cli | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- latest | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
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 | ||
env: | ||
DEPLOY_VERSION: testing | ||
- run: node ./bin/npm-cli.js run resetdeps | ||
- run: node ./bin/npm-cli.js run lint | ||
|
||
check_docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
node-version: 16.x | ||
cache: npm | ||
- name: Install dependencies | ||
run: | | ||
node ./bin/npm-cli.js install --ignore-scripts --no-audit | ||
- name: Rebuild the docs | ||
run: make freshdocs | ||
- name: Git should not be dirty | ||
run: node scripts/git-dirty.js | ||
|
||
- run: make freshdocs | ||
- run: node scripts/git-dirty.js | ||
|
||
licenses: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the npm/cli repo | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
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: Validate licenses | ||
run: node ./bin/npm-cli.js run licenses | ||
- run: node ./bin/npm-cli.js run resetdeps | ||
- run: node ./bin/npm-cli.js run licenses | ||
|
||
smoke-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
node-version: | ||
- 12.x | ||
- 14.x | ||
- 16.x | ||
platform: | ||
- os: ubuntu-latest | ||
shell: bash | ||
- os: macos-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: bash | ||
- os: windows-latest | ||
shell: powershell | ||
|
||
shell: cmd | ||
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 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
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 smoke tests | ||
- name: Run Smoke tests | ||
run: node ./bin/npm-cli.js run --ignore-scripts smoke-tests -- --no-check-coverage -t600 -Rbase -c | ||
env: | ||
DEPLOY_VERSION: testing | ||
- run: node ./bin/npm-cli.js run resetdeps | ||
- run: node ./bin/npm-cli.js run smoke-tests --ignore-scripts | ||
- name: git status | ||
if: matrix.platform.os != 'windows-latest' | ||
run: node scripts/git-dirty.js | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x] | ||
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 | ||
|
||
shell: cmd | ||
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 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
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 | ||
- name: Run Tap tests | ||
run: node ./bin/npm-cli.js run test --ignore-scripts -- -t600 -Rbase -c | ||
- run: node ./bin/npm-cli.js run resetdeps | ||
- run: node ./bin/npm-cli.js run test --ignore-scripts | ||
- name: git status | ||
if: matrix.platform.os != 'windows-latest' | ||
run: node scripts/git-dirty.js |
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -29,7 +29,6 @@ | |
!/LICENSE | ||
!/make.bat | ||
!/Makefile | ||
!/netlify.toml | ||
!/package-lock.json | ||
!/package.json | ||
!/README.md | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to highlight that I could not get the git-dirty check to work on windows. I'm ok with that for now, but this might lead to problems for external contributors on windows.