Skip to content

Commit

Permalink
Use npm ci instead of install in CI (#22323)
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Jul 18, 2022
1 parent 4b5efc3 commit 1805382
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-pr-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: 'master'
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-prs-needing-attention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot-update-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm ci
working-directory: 'scripts/ci/pr-bot'

# Runs a set of commands using the runners shell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reportGenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
npm install
npm ci
node generateReport.js
working-directory: 'scripts/ci/issue-report'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typescript_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm install
- run: npm ci
working-directory: ./sdks/typescript
- run: npm run build
working-directory: ./sdks/typescript
Expand Down

0 comments on commit 1805382

Please sign in to comment.