Skip to content

Commit f8be7bd

Browse files
chore: bump @npmcli/template-oss from 4.19.0 to 4.21.1 (#202)
Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.19.0 to 4.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/npm/template-oss/releases"><code>@​npmcli/template-oss</code>'s releases</a>.</em></p> <blockquote> <h2>v4.20.0</h2> <h2><a href="https://github.com/npm/template-oss/compare/v4.19.0...v4.20.0">4.20.0</a> (2023-11-15)</h2> <h3>Features</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/17ea62ddae905344c50458e10a204cf13cb56aaf"><code>17ea62d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> add typescript and esm support (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/ea0e8661e0a9759fed1a4044cb1f5905dad1942c"><code>ea0e866</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/373">#373</a> update engines (<a href="https://redirect.github.com/npm/template-oss/issues/373">#373</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/74331b4a815fb83c69ee57c05d299c1a647b46c0"><code>74331b4</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> remove tap 16 specific config when using tap 18 (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/3fca74f484b683ec204350d491a4eb201e882b85"><code>3fca74f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> always lint all js-ish extensions (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/37e9e0ed8eb5a0ff49531d5b9cb2105f81004358"><code>37e9e0e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> use npx semver to better determine latest npm (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/3e1792c441752d52bb3b446698dc6a0850b3b4de"><code>3e1792c</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/362">#362</a> add suffix to template files (<a href="https://redirect.github.com/npm/template-oss/issues/362">#362</a>) (<a href="https://github.com/rotu"><code>@​rotu</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/ebb48ecbf3dfffb6e21634528723267018f324af"><code>ebb48ec</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/368">#368</a> add PR approval to auto publish flow (<a href="https://redirect.github.com/npm/template-oss/issues/368">#368</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/f065bcb147e8a8104848e594363540e1b056b548"><code>f065bcb</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/366">#366</a> prefer upstream over origin when getting remote (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/29bf19d5b809b573185753321f5e498155c55f5b"><code>29bf19d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/364">#364</a> Ignore transient tap test directories (<a href="https://redirect.github.com/npm/template-oss/issues/364">#364</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> </ul> <h3>Documentation</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/2a8d79ef33c939af4ee909dd7c851ce96db16d93"><code>2a8d79e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/372">#372</a> add note about semver and breaking changes (<a href="https://redirect.github.com/npm/template-oss/issues/372">#372</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h3>Dependencies</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/ec65582767348658bb8a6f9040099ff704c03d1d"><code>ec65582</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/375">#375</a> bump <code>@​commitlint/config-conventional</code> from 17.8.1 to 18.1.0</li> <li><a href="https://github.com/npm/template-oss/commit/c8420a6755609eba54886e6af5a123c57f2002eb"><code>c8420a6</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/374">#374</a> bump <code>@​commitlint/cli</code> from 17.8.1 to 18.2.0</li> <li><a href="https://github.com/npm/template-oss/commit/f2521edc63fd6bd313fdc3fdac8e3a3c0bd70af9"><code>f2521ed</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/370">#370</a> bump <code>@​npmcli/arborist</code> from 6.5.0 to 7.2.1</li> <li><a href="https://github.com/npm/template-oss/commit/8c2055457c112e616a0529bfb5baa296d3bdecc9"><code>8c20554</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/346">#346</a> bump <code>@​npmcli/git</code> from 4.1.0 to 5.0.3</li> <li><a href="https://github.com/npm/template-oss/commit/f25926ab282975ea371700c6e8d17d454ab93777"><code>f25926a</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/343">#343</a> bump <code>@​npmcli/package-json</code> from 4.0.1 to 5.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/af30dbe3bbf4f410f31473f3df89b5893c01be62"><code>af30dbe</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/357">#357</a> bump hosted-git-info from 6.1.1 to 7.0.1</li> <li><a href="https://github.com/npm/template-oss/commit/0b59cd6bc32a48f69a7a46b6a7e9c28a106fcffe"><code>0b59cd6</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/349">#349</a> bump npm-package-arg from 10.1.0 to 11.0.1</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/npm/template-oss/blob/main/CHANGELOG.md"><code>@​npmcli/template-oss</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/npm/template-oss/compare/v4.19.0...v4.20.0">4.20.0</a> (2023-11-15)</h2> <h3>Features</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/17ea62ddae905344c50458e10a204cf13cb56aaf"><code>17ea62d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> add typescript and esm support (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/ea0e8661e0a9759fed1a4044cb1f5905dad1942c"><code>ea0e866</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/373">#373</a> update engines (<a href="https://redirect.github.com/npm/template-oss/issues/373">#373</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/74331b4a815fb83c69ee57c05d299c1a647b46c0"><code>74331b4</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> remove tap 16 specific config when using tap 18 (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/3fca74f484b683ec204350d491a4eb201e882b85"><code>3fca74f</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> always lint all js-ish extensions (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/37e9e0ed8eb5a0ff49531d5b9cb2105f81004358"><code>37e9e0e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/371">#371</a> use npx semver to better determine latest npm (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/3e1792c441752d52bb3b446698dc6a0850b3b4de"><code>3e1792c</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/362">#362</a> add suffix to template files (<a href="https://redirect.github.com/npm/template-oss/issues/362">#362</a>) (<a href="https://github.com/rotu"><code>@​rotu</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/ebb48ecbf3dfffb6e21634528723267018f324af"><code>ebb48ec</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/368">#368</a> add PR approval to auto publish flow (<a href="https://redirect.github.com/npm/template-oss/issues/368">#368</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/f065bcb147e8a8104848e594363540e1b056b548"><code>f065bcb</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/366">#366</a> prefer upstream over origin when getting remote (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/template-oss/commit/29bf19d5b809b573185753321f5e498155c55f5b"><code>29bf19d</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/364">#364</a> Ignore transient tap test directories (<a href="https://redirect.github.com/npm/template-oss/issues/364">#364</a>) (<a href="https://github.com/wraithgar"><code>@​wraithgar</code></a>)</li> </ul> <h3>Documentation</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/2a8d79ef33c939af4ee909dd7c851ce96db16d93"><code>2a8d79e</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/372">#372</a> add note about semver and breaking changes (<a href="https://redirect.github.com/npm/template-oss/issues/372">#372</a>) (<a href="https://github.com/lukekarrys"><code>@​lukekarrys</code></a>)</li> </ul> <h3>Dependencies</h3> <ul> <li><a href="https://github.com/npm/template-oss/commit/ec65582767348658bb8a6f9040099ff704c03d1d"><code>ec65582</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/375">#375</a> bump <code>@​commitlint/config-conventional</code> from 17.8.1 to 18.1.0</li> <li><a href="https://github.com/npm/template-oss/commit/c8420a6755609eba54886e6af5a123c57f2002eb"><code>c8420a6</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/374">#374</a> bump <code>@​commitlint/cli</code> from 17.8.1 to 18.2.0</li> <li><a href="https://github.com/npm/template-oss/commit/f2521edc63fd6bd313fdc3fdac8e3a3c0bd70af9"><code>f2521ed</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/370">#370</a> bump <code>@​npmcli/arborist</code> from 6.5.0 to 7.2.1</li> <li><a href="https://github.com/npm/template-oss/commit/8c2055457c112e616a0529bfb5baa296d3bdecc9"><code>8c20554</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/346">#346</a> bump <code>@​npmcli/git</code> from 4.1.0 to 5.0.3</li> <li><a href="https://github.com/npm/template-oss/commit/f25926ab282975ea371700c6e8d17d454ab93777"><code>f25926a</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/343">#343</a> bump <code>@​npmcli/package-json</code> from 4.0.1 to 5.0.0</li> <li><a href="https://github.com/npm/template-oss/commit/af30dbe3bbf4f410f31473f3df89b5893c01be62"><code>af30dbe</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/357">#357</a> bump hosted-git-info from 6.1.1 to 7.0.1</li> <li><a href="https://github.com/npm/template-oss/commit/0b59cd6bc32a48f69a7a46b6a7e9c28a106fcffe"><code>0b59cd6</code></a> <a href="https://redirect.github.com/npm/template-oss/pull/349">#349</a> bump npm-package-arg from 10.1.0 to 11.0.1</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/template-oss/commit/7f86c5fbe81c50ab35d954f891332bab00568c18"><code>7f86c5f</code></a> chore: release 4.20.0</li> <li><a href="https://github.com/npm/template-oss/commit/74331b4a815fb83c69ee57c05d299c1a647b46c0"><code>74331b4</code></a> fix: remove tap 16 specific config when using tap 18</li> <li><a href="https://github.com/npm/template-oss/commit/17ea62ddae905344c50458e10a204cf13cb56aaf"><code>17ea62d</code></a> feat: add typescript and esm support</li> <li><a href="https://github.com/npm/template-oss/commit/3fca74f484b683ec204350d491a4eb201e882b85"><code>3fca74f</code></a> fix: always lint all js-ish extensions</li> <li><a href="https://github.com/npm/template-oss/commit/37e9e0ed8eb5a0ff49531d5b9cb2105f81004358"><code>37e9e0e</code></a> fix: use npx semver to better determine latest npm</li> <li><a href="https://github.com/npm/template-oss/commit/ec65582767348658bb8a6f9040099ff704c03d1d"><code>ec65582</code></a> deps: bump <code>@​commitlint/config-conventional</code> from 17.8.1 to 18.1.0</li> <li><a href="https://github.com/npm/template-oss/commit/c8420a6755609eba54886e6af5a123c57f2002eb"><code>c8420a6</code></a> deps: bump <code>@​commitlint/cli</code> from 17.8.1 to 18.2.0</li> <li><a href="https://github.com/npm/template-oss/commit/f2521edc63fd6bd313fdc3fdac8e3a3c0bd70af9"><code>f2521ed</code></a> deps: bump <code>@​npmcli/arborist</code> from 6.5.0 to 7.2.1</li> <li><a href="https://github.com/npm/template-oss/commit/8c2055457c112e616a0529bfb5baa296d3bdecc9"><code>8c20554</code></a> deps: bump <code>@​npmcli/git</code> from 4.1.0 to 5.0.3</li> <li><a href="https://github.com/npm/template-oss/commit/f25926ab282975ea371700c6e8d17d454ab93777"><code>f25926a</code></a> deps: bump <code>@​npmcli/package-json</code> from 4.0.1 to 5.0.0</li> <li>Additional commits viewable in <a href="https://github.com/npm/template-oss/compare/v4.19.0...v4.20.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@npmcli/template-oss&package-manager=npm_and_yarn&previous-version=4.19.0&new-version=4.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Karrys <[email protected]>
1 parent 8fc4df1 commit f8be7bd

File tree

13 files changed

+380
-726
lines changed

13 files changed

+380
-726
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ const localConfigs = readdir(__dirname)
1010

1111
module.exports = {
1212
root: true,
13+
ignorePatterns: [
14+
'tap-testdir*/',
15+
],
1316
extends: [
1417
'@npmcli',
1518
...localConfigs,
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
name: 'Create Check'
4+
inputs:
5+
name:
6+
required: true
7+
token:
8+
required: true
9+
sha:
10+
required: true
11+
check-name:
12+
default: ''
13+
outputs:
14+
check-id:
15+
value: ${{ steps.create-check.outputs.check_id }}
16+
runs:
17+
using: "composite"
18+
steps:
19+
- name: Get Workflow Job
20+
uses: actions/github-script@v6
21+
id: workflow
22+
env:
23+
JOB_NAME: "${{ inputs.name }}"
24+
SHA: "${{ inputs.sha }}"
25+
with:
26+
result-encoding: string
27+
script: |
28+
const { repo: { owner, repo}, runId, serverUrl } = context
29+
const { JOB_NAME, SHA } = process.env
30+
31+
const job = await github.rest.actions.listJobsForWorkflowRun({
32+
owner,
33+
repo,
34+
run_id: runId,
35+
per_page: 100
36+
}).then(r => r.data.jobs.find(j => j.name.endsWith(JOB_NAME)))
37+
38+
return [
39+
`This check is assosciated with ${serverUrl}/${owner}/${repo}/commit/${SHA}.`,
40+
'Run logs:',
41+
job?.html_url || `could not be found for a job ending with: "${JOB_NAME}"`,
42+
].join(' ')
43+
- name: Create Check
44+
uses: LouisBrunner/[email protected]
45+
id: create-check
46+
with:
47+
token: ${{ inputs.token }}
48+
sha: ${{ inputs.sha }}
49+
status: in_progress
50+
name: ${{ inputs.check-name || inputs.name }}
51+
output: |
52+
{"summary":"${{ steps.workflow.outputs.result }}"}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# This file is automatically added by @npmcli/template-oss. Do not edit.
2+
3+
name: 'Install Latest npm'
4+
description: 'Install the latest version of npm compatible with the Node version'
5+
inputs:
6+
node:
7+
description: 'Current Node version'
8+
required: true
9+
runs:
10+
using: "composite"
11+
steps:
12+
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
13+
- name: Update Windows npm
14+
if: |
15+
runner.os == 'Windows' && (
16+
startsWith(inputs.node, 'v10.') ||
17+
startsWith(inputs.node, 'v12.') ||
18+
startsWith(inputs.node, 'v14.')
19+
)
20+
shell: cmd
21+
run: |
22+
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
23+
tar xf npm-7.5.4.tgz
24+
cd package
25+
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
26+
cd ..
27+
rmdir /s /q package
28+
- name: Install Latest npm
29+
shell: bash
30+
env:
31+
NODE_VERSION: ${{ inputs.node }}
32+
working-directory: ${{ runner.temp }}
33+
run: |
34+
MATCH=""
35+
SPECS=("latest" "next-10" "next-9" "next-8" "next-7" "next-6")
36+
37+
echo "node@$NODE_VERSION"
38+
39+
for SPEC in ${SPECS[@]}; do
40+
ENGINES=$(npm view npm@$SPEC --json | jq -r '.engines.node')
41+
echo "Checking if node@$NODE_VERSION satisfies npm@$SPEC ($ENGINES)"
42+
43+
if npx semver -r "$ENGINES" "$NODE_VERSION" > /dev/null; then
44+
MATCH=$SPEC
45+
echo "Found compatible version: npm@$MATCH"
46+
break
47+
fi
48+
done
49+
50+
if [ -z $MATCH ]; then
51+
echo "Could not find a compatible version of npm for node@$NODE_VERSION"
52+
exit 1
53+
fi
54+
55+
npm i --prefer-online --no-fund --no-audit -g npm@$MATCH
56+
- name: npm Version
57+
shell: bash
58+
run: npm -v

.github/workflows/audit.yml

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -29,52 +29,10 @@ jobs:
2929
with:
3030
node-version: 20.x
3131
check-latest: contains('20.x', '.x')
32-
33-
# node 10/12/14 ship with npm@6, which is known to fail when updating itself in windows
34-
- name: Update Windows npm
35-
if: |
36-
matrix.platform.os == 'windows-latest' && (
37-
startsWith(steps.node.outputs.node-version, 'v10.') || startsWith(steps.node.outputs.node-version, 'v12.') || startsWith(steps.node.outputs.node-version, 'v14.')
38-
)
39-
run: |
40-
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
41-
tar xf npm-7.5.4.tgz
42-
cd package
43-
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
44-
cd ..
45-
rmdir /s /q package
46-
47-
# Start on Node 10 because we dont test on anything lower
48-
- name: Install npm@7 on Node 10
49-
shell: bash
50-
if: startsWith(steps.node.outputs.node-version, 'v10.')
51-
id: npm-7
52-
run: |
53-
npm i --prefer-online --no-fund --no-audit -g npm@7
54-
echo "updated=true" >> "$GITHUB_OUTPUT"
55-
56-
- name: Install npm@8 on Node 12
57-
shell: bash
58-
if: startsWith(steps.node.outputs.node-version, 'v12.')
59-
id: npm-8
60-
run: |
61-
npm i --prefer-online --no-fund --no-audit -g npm@8
62-
echo "updated=true" >> "$GITHUB_OUTPUT"
63-
64-
- name: Install npm@9 on Node 14/16/18.0
65-
shell: bash
66-
if: startsWith(steps.node.outputs.node-version, 'v14.') || startsWith(steps.node.outputs.node-version, 'v16.') || startsWith(steps.node.outputs.node-version, 'v18.0.')
67-
id: npm-9
68-
run: |
69-
npm i --prefer-online --no-fund --no-audit -g npm@9
70-
echo "updated=true" >> "$GITHUB_OUTPUT"
71-
72-
- name: Install npm@latest on Node
73-
if: ${{ !(steps.npm-7.outputs.updated || steps.npm-8.outputs.updated || steps.npm-9.outputs.updated) }}
74-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
75-
76-
- name: npm Version
77-
run: npm -v
32+
- name: Install Latest npm
33+
uses: ./.github/actions/install-latest-npm
34+
with:
35+
node: ${{ steps.node.outputs.node-version }}
7836
- name: Install Dependencies
7937
run: npm i --ignore-scripts --no-audit --no-fund --package-lock
8038
- name: Run Production Audit

0 commit comments

Comments
 (0)