Skip to content

Commit 9537ee1

Browse files
Revert workflow files back to npm ci
CI workflow files should use npm ci for reproducible builds: - package.yml (CD workflow) - deps.yml (dependency checking) - copilot-setup-steps.yml Non-workflow files continue to use npm install: - GitHub actions (npm-ci, build-vsix) - Azure pipelines (stable, pre-release) - Post-checkout git hook - Devcontainer files
1 parent e40fffb commit 9537ee1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
path: ./out
5858
key: ${{runner.os}}-${{env.CACHE_OUT_DIRECTORY}}-${{hashFiles('src/**')}}
5959

60-
# This is faster than running `npm install`, we do not want to build zmq, etc.
60+
# This is faster than running `npm ci`, we do not want to build zmq, etc.
6161
# Let that happen in other jobs, this job needs to be fast
62-
- name: npm install
63-
run: npm install --ignore-scripts --prefer-offline --no-audit
62+
- name: npm ci
63+
run: npm ci --ignore-scripts --prefer-offline --no-audit
6464
env:
6565
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666

.github/workflows/deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
scope: '@deepnote'
3333

3434
- name: Install dependencies
35-
run: npm install --prefer-offline --no-audit
35+
run: npm ci --prefer-offline --no-audit
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838

@@ -63,7 +63,7 @@ jobs:
6363
cache: 'npm'
6464

6565
- name: Install dependencies
66-
run: npm install --prefer-offline --no-audit
66+
run: npm ci --prefer-offline --no-audit
6767

6868
- name: Run postinstall
6969
run: npm run postinstall

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
scope: '@deepnote'
3434

3535
- name: Install dependencies
36-
run: npm install --prefer-offline --no-audit
36+
run: npm ci --prefer-offline --no-audit
3737
env:
3838
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939

0 commit comments

Comments
 (0)