File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
4041
4142 - name : Install dependencies
4243 shell : bash
43- run : npm i
44+ run : npm ci
4445
4546 - name : Create application
4647 shell : bash
Original file line number Diff line number Diff 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'
Original file line number Diff line number Diff line change 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@fa4a118725a8f001170d49631ea89e5d66fee626 # v7.4.1
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
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@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ cypress.env.json
1010.idea
1111test-results
1212yarn.lock
13- package-lock.json
1413.DS_Store
1514release-tmp *
1615bundle-stats
Original file line number Diff line number Diff line change 11ignore-scripts = true
2+ omit-lockfile-registry-resolved = true
Original file line number Diff line number Diff line change 22
33install :
44 @echo " Running install..."
5- npm install
5+ npm ci
66
77lint :
88 @echo " Running lint..."
You can’t perform that action at this time.
0 commit comments