Skip to content

Commit 79378ef

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent eaea26d commit 79378ef

File tree

3 files changed

+5
-58
lines changed

3 files changed

+5
-58
lines changed

.github/workflows/audit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ jobs:
3636
run: npm -v
3737
- name: Install Dependencies
3838
run: npm i --ignore-scripts --no-audit --no-fund --package-lock
39-
- name: Run Audit
40-
run: npm audit
39+
- name: Run Production Audit
40+
run: npm audit --omit=dev
41+
- name: Run Full Audit
42+
run: npm audit --audit-level=none

.github/workflows/ci.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -14,61 +14,6 @@ on:
1414
- cron: "0 9 * * 1"
1515

1616
jobs:
17-
engines:
18-
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
19-
if: github.repository_owner == 'npm'
20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
platform:
24-
- name: Linux
25-
os: ubuntu-latest
26-
shell: bash
27-
node-version:
28-
- 10.0.0
29-
- 12.0.0
30-
- 14.0.0
31-
- 16.0.0
32-
- 18.0.0
33-
runs-on: ${{ matrix.platform.os }}
34-
defaults:
35-
run:
36-
shell: ${{ matrix.platform.shell }}
37-
steps:
38-
- name: Support Long Paths
39-
if: matrix.platform.os == 'windows-latest'
40-
run: git config --system core.longpaths true
41-
- name: Checkout
42-
uses: actions/checkout@v3
43-
- name: Setup Git User
44-
run: |
45-
git config --global user.email "[email protected]"
46-
git config --global user.name "npm CLI robot"
47-
- name: Setup Node
48-
uses: actions/setup-node@v3
49-
with:
50-
node-version: ${{ matrix.node-version }}
51-
- name: Update Windows npm
52-
# node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows
53-
if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.'))
54-
run: |
55-
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
56-
tar xf npm-7.5.4.tgz
57-
cd package
58-
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
59-
cd ..
60-
rmdir /s /q package
61-
- name: Install npm@7
62-
if: startsWith(matrix.node-version, '10.') || startsWith(matrix.node-version, '12.')
63-
run: npm i --prefer-online --no-fund --no-audit -g npm@7
64-
- name: Install npm@latest
65-
if: ${{ !startsWith(matrix.node-version, '10.') && !startsWith(matrix.node-version, '12.') }}
66-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
67-
- name: npm Version
68-
run: npm -v
69-
- name: Install Dependencies
70-
run: npm i --ignore-scripts --no-audit --no-fund --engines-strict
71-
7217
lint:
7318
name: Lint
7419
if: github.repository_owner == 'npm'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"templateOSS": {
5656
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
57-
"version": "4.7.1",
57+
"version": "4.8.0",
5858
"content": "scripts/template-oss",
5959
"engines": ">=10",
6060
"distPaths": [

0 commit comments

Comments
 (0)