Skip to content

Commit

Permalink
Try npm cache verify and --loglevel verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhun committed May 28, 2021
1 parent 4e93200 commit 781e403
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:

- name: npm install, build, format and lint
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
npm run test:create-block
2 changes: 1 addition & 1 deletion .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Npm install and build
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
FORCE_REDUCED_MOTION=true npm run build
- name: Install WordPress
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Npm install
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
- name: Compare performance with trunk
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# path: ~/.npm
# key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}

- run: npm ci
- run: npm cache verify && npm ci --loglevel verbose

- name: Restore Gradle cache
uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# path: ~/.npm
# key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}

- run: npm ci
- run: npm cache verify && npm ci --loglevel verbose

- name: Prepare build cache key
run: find package-lock.json packages/react-native-editor/ios packages/react-native-aztec/ios packages/react-native-bridge/ios -type f -print0 | sort -z | xargs -0 shasum | tee ios-checksums.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
#
# See: https://github.com/WordPress/gutenberg/issues/16157
run: |
npm install
npm cache verify && npm install --loglevel verbose
npm run build
- name: Lint JavaScript and Styles
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install Dependencies
run: npm ci
run: npm cache verify && npm ci --loglevel verbose

- name: Build Storybook
run: npm run storybook:build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# source files with `babel-jest`. Some packages have their own custom
# build tasks, however. These must be run.
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
npx lerna run build
- name: Running the tests
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Npm install and build
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
npm run build
- name: Install WordPress
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
# source files with `babel-jest`. Some packages have their own custom
# build tasks, however. These must be run.
run: |
npm ci
npm cache verify && npm ci --loglevel verbose
npx lerna run build
- name: Running the tests
Expand Down

0 comments on commit 781e403

Please sign in to comment.