Skip to content

Commit b83ea82

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent cd36c86 commit b83ea82

File tree

3 files changed

+5
-53
lines changed

3 files changed

+5
-53
lines changed

.github/workflows/audit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ jobs:
3333
run: npm -v
3434
- name: Install Dependencies
3535
run: npm i --ignore-scripts --no-audit --no-fund --package-lock
36-
- name: Run Audit
37-
run: npm audit
36+
- name: Run Production Audit
37+
run: npm audit --omit=dev
38+
- name: Run Full Audit
39+
run: npm audit --audit-level=none

.github/workflows/ci.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -14,56 +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-
- 14.17.0
29-
- 16.13.0
30-
- 18.0.0
31-
runs-on: ${{ matrix.platform.os }}
32-
defaults:
33-
run:
34-
shell: ${{ matrix.platform.shell }}
35-
steps:
36-
- name: Checkout
37-
uses: actions/checkout@v3
38-
- name: Setup Git User
39-
run: |
40-
git config --global user.email "[email protected]"
41-
git config --global user.name "npm CLI robot"
42-
- name: Setup Node
43-
uses: actions/setup-node@v3
44-
with:
45-
node-version: ${{ matrix.node-version }}
46-
- name: Update Windows npm
47-
# node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows
48-
if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.'))
49-
run: |
50-
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
51-
tar xf npm-7.5.4.tgz
52-
cd package
53-
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
54-
cd ..
55-
rmdir /s /q package
56-
- name: Install npm@7
57-
if: startsWith(matrix.node-version, '10.')
58-
run: npm i --prefer-online --no-fund --no-audit -g npm@7
59-
- name: Install npm@latest
60-
if: ${{ !startsWith(matrix.node-version, '10.') }}
61-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
62-
- name: npm Version
63-
run: npm -v
64-
- name: Install Dependencies
65-
run: npm i --ignore-scripts --no-audit --no-fund --engines-strict
66-
6717
lint:
6818
name: Lint
6919
if: github.repository_owner == 'npm'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"templateOSS": {
4444
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
45-
"version": "4.7.1"
45+
"version": "4.8.0"
4646
},
4747
"tap": {
4848
"nyc-arg": [

0 commit comments

Comments
 (0)