chore: use npm ci --ignore-scripts everywhere

Signed-off-by: William Woodruff <william@astral.sh>
This commit is contained in:
William Woodruff 2025-12-01 17:47:17 -05:00
parent 06e4edb239
commit 1496e690f4
No known key found for this signature in database
4 changed files with 8 additions and 4 deletions

View file

@ -59,7 +59,7 @@ src/
#### 1. Install Dependencies #### 1. Install Dependencies
```bash ```bash
npm install npm ci --ignore-scripts
``` ```
**Timing**: ~20-30 seconds **Timing**: ~20-30 seconds
@ -236,7 +236,7 @@ This file is the authoritative source for understanding available action paramet
### Build Failures ### Build Failures
- **"Module not found"**: Run `npm install` to ensure dependencies are installed - **"Module not found"**: Run `npm ci --ignore-scripts` to ensure dependencies are installed
- **TypeScript errors**: Check `tsconfig.json` and ensure all imports are valid - **TypeScript errors**: Check `tsconfig.json` and ensure all imports are valid
- **Test failures**: Check if test fixtures have been modified or if logic changes broke assumptions - **Test failures**: Check if test fixtures have been modified or if logic changes broke assumptions

View file

@ -4,8 +4,12 @@ updates:
directory: / directory: /
schedule: schedule:
interval: daily interval: daily
cooldown:
default-days: 7
- package-ecosystem: npm - package-ecosystem: npm
directory: / directory: /
schedule: schedule:
interval: daily interval: daily
cooldown:
default-days: 7

View file

@ -33,7 +33,7 @@ jobs:
node-version-file: .nvmrc node-version-file: .nvmrc
cache: npm cache: npm
- run: | - run: |
npm install npm ci --ignore-scripts
- run: | - run: |
npm run all npm run all
- name: Check all jobs are in all-tests-passed.needs - name: Check all jobs are in all-tests-passed.needs

View file

@ -39,7 +39,7 @@ jobs:
fi fi
- name: Compile changes - name: Compile changes
if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }} if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }}
run: npm ci && npm run all run: npm ci --ignore-scripts && npm run all
- name: Commit and push changes - name: Commit and push changes
if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }} if: ${{ steps.changes-exist.outputs.changes-exist == 'true' }}
id: commit-and-push id: commit-and-push