Skip to content

Commit 76ca344

Browse files
chore: restore package-lock.json without exposing internal registry URLs
1 parent 1c90d6a commit 76ca344

12 files changed

Lines changed: 16093 additions & 13 deletions

File tree

.github/actions/build/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ runs:
1515
uses: actions/setup-node@v6
1616
with:
1717
node-version: ${{ inputs.node }}
18+
cache: npm
1819

1920
- name: Install dependencies
2021
shell: bash
21-
run: npm i
22+
run: npm ci
2223

2324
- name: Build package
2425
shell: bash

.github/actions/framework/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ runs:
3131
uses: actions/setup-node@v6
3232
with:
3333
node-version: ${{ inputs.node }}
34+
cache: npm
3435

3536
- name: Restore build artifacts
3637
uses: actions/cache/restore@v3
@@ -40,7 +41,7 @@ runs:
4041

4142
- name: Install dependencies
4243
shell: bash
43-
run: npm i
44+
run: npm ci
4445

4546
- name: Create application
4647
shell: bash

.github/actions/npm-publish/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ runs:
2121
uses: actions/setup-node@v6
2222
with:
2323
node-version: ${{ inputs.node-version }}
24+
cache: npm
2425

2526
- name: Update npm
2627
shell: bash
2728
run: npm install -g npm@11.10.0
2829

2930
- name: Install dependencies
3031
shell: bash
31-
run: npm i --include=dev
32+
run: npm ci
3233

3334
- name: Build package
3435
if: inputs.require-build == 'true'

.github/workflows/cross-browser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ jobs:
4343
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4444
with:
4545
node-version: ${{ env.NODE_VERSION }}
46+
cache: npm
4647

4748
- name: Install dependencies
48-
run: npm i --include=dev
49+
run: npm ci
4950

5051
- name: Run cross-browser tests
5152
uses: cypress-io/github-action@948d67d3074f1bbb6379c8bdbb04e95d2f8e593f # v7.4.0

.github/workflows/sca_scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
snyk-cli:
1111
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
1212
with:
13-
pre-scan-commands: "npm install"
13+
pre-scan-commands: "npm ci"
1414
additional-arguments: "--exclude=README.md"
1515
node-version: 24
1616
secrets: inherit

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3737

38-
- run: npm install
38+
- run: npm ci
3939

4040
- uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # pin@1.0.0
4141
env:

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
6464
with:
6565
node-version: ${{ env.NODE_VERSION }}
66+
cache: npm
6667

6768
- name: Restore build artifacts
6869
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
@@ -92,6 +93,7 @@ jobs:
9293
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
9394
with:
9495
node-version: ${{ env.NODE_VERSION }}
96+
cache: npm
9597

9698
- name: Restore build artifacts
9799
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ cypress.env.json
1010
.idea
1111
test-results
1212
yarn.lock
13-
package-lock.json
1413
.DS_Store
1514
release-tmp*
1615
bundle-stats

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
ignore-scripts=true
2+
omit-lockfile-registry-resolved=true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
install:
44
@echo "Running install..."
5-
npm install
5+
npm ci
66

77
lint:
88
@echo "Running lint..."

0 commit comments

Comments
 (0)