Skip to content

Commit

Permalink
Replaced "npm install" with "npm ci" in workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <[email protected]>
  • Loading branch information
tsmaeder committed Dec 17, 2024
1 parent 46ab709 commit b30a1bd
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
./scripts/check_git_status.sh
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
git status
./scripts/check_git_status.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install and Build
shell: bash
run: |
npm install
npm ci
env:
NODE_OPTIONS: --max_old_space_size=4096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build:browser
npm run download:plugins
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
cd examples/browser && npm run build:production
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Pre-npm-Publish
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
shell: bash
run: |
npm install -g node-gyp
npm install
npm ci
npm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ports:
- port: 9339 # Node.js debug port
onOpen: ignore
tasks:
- init: npm install && yarn build && yarn download:plugins
- init: npm ci && npm run build && npm run download:plugins
command: >
jwm &
npm run start:browser ../.. --hostname=0.0.0.0
Expand Down
2 changes: 1 addition & 1 deletion devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ commands:
component: che-dev
command: >
killall node;
npm install && npm run build && npm run download:plugins
npm ci && npm run build && npm run download:plugins
workdir: /projects/theia
- name: >
theia: Launch Browser Backend
Expand Down

0 comments on commit b30a1bd

Please sign in to comment.