Skip to content

Commit

Permalink
Merge pull request #1876: Debug npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Oct 24, 2024
2 parents 9a28ee7 + 6bdb774 commit 35e4ca6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: ${{ matrix.node }}
- run: node --version
# Build is implicit with the "prepare" life cycle script
- run: npm ci
- run: npm ci --loglevel verbose

unit-test:
runs-on: ubuntu-latest
Expand All @@ -36,7 +36,7 @@ jobs:
# Note: --ignore-scripts skips an otherwise unnecessary Auspice build, but
# also skips life cycle scripts for dependencies. If the job fails here,
# try removing this flag.
- run: npm ci --ignore-scripts
- run: npm ci --loglevel verbose --ignore-scripts
- run: npm test

smoke-test:
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm ci --loglevel verbose
- run: npm run get-data
- run: npm run smoke-test:ci

Expand All @@ -66,7 +66,7 @@ jobs:
# Note: --ignore-scripts skips an otherwise unnecessary Auspice build, but
# also skips life cycle scripts for dependencies. If the job fails here,
# try removing this flag.
- run: npm ci --ignore-scripts
- run: npm ci --loglevel verbose --ignore-scripts
- run: npm run lint

type-check:
Expand All @@ -79,7 +79,7 @@ jobs:
# Note: --ignore-scripts skips an otherwise unnecessary Auspice build, but
# also skips life cycle scripts for dependencies. If the job fails here,
# try removing this flag.
- run: npm ci --ignore-scripts
- run: npm ci --loglevel verbose --ignore-scripts
- run: npm run type-check

bundlesize:
Expand All @@ -89,7 +89,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm ci --loglevel verbose
- run: npx --yes bundlesize

# Ensure package-lock.json is synced with package.json.
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: node --version
- run: npm ci
- run: npm ci --loglevel verbose
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 35e4ca6

Please sign in to comment.