Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lock file format version to version 2 (NPM 7) #28886

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-plugin-zip.yml
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Build Gutenberg plugin ZIP file
run: ./bin/build-plugin-zip.sh
env:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/bundle-size.yml
Expand Up @@ -12,6 +12,14 @@ jobs:
with:
fetch-depth: 1

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/create-block.yml
Expand Up @@ -43,6 +43,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install latest NPM version
run: npm install -g npm@latest

- name: npm install, build, format and lint
run: |
npm ci
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/end2end-test.yml
Expand Up @@ -42,6 +42,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install and build
run: |
npm ci
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/performance.yml
Expand Up @@ -34,6 +34,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install
run: |
npm ci
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rnmobile-android-runner.yml
Expand Up @@ -30,6 +30,14 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- run: npm ci

- name: Restore Gradle cache
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rnmobile-ios-runner.yml
Expand Up @@ -29,6 +29,14 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- run: npm ci

- name: Prepare build cache key
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/static-checks.yml
Expand Up @@ -32,6 +32,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install and build
# A "full" install is executed, since `npm ci` does not always exit
# with an error status code if the lock file is inaccurate.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/storybook-pages.yml
Expand Up @@ -32,6 +32,9 @@ jobs:
with:
node-version: '14.x'

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Install Dependencies
run: npm ci

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/unit-test.yml
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install and build
# It's not necessary to run the full build, since Jest can interpret
# source files with `babel-jest`. Some packages have their own custom
Expand Down Expand Up @@ -77,6 +80,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install and build
run: |
npm ci
Expand Down Expand Up @@ -125,6 +131,9 @@ jobs:
with:
node-version: 14.x

- name: Install latest NPM version
run: npm install -g npm@latest

- name: Npm install and build
# It's not necessary to run the full build, since Jest can interpret
# source files with `babel-jest`. Some packages have their own custom
Expand Down