Skip to content

Commit 6605b2d

Browse files
authored
chore(ci-cd): add ignore scripts in workflow (#44)
GH-43 ## Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Fixes # (issue) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Intermediate change (work in progress) ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B ## Checklist: - [ ] Performed a self-review of my own code - [ ] npm test passes on your machine - [ ] New tests added or existing tests modified to cover all changes - [ ] Code conforms with the style guide - [ ] API Documentation in code was updated - [ ] Any dependent changes have been merged and published in downstream modules
1 parent c900436 commit 6605b2d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- run: npm --version
2424

2525
- name: Install Monorepo Deps
26-
run: npm ci
26+
run: npm ci --ignore-scripts
2727

2828
- name: Install Lerna
29-
run: npm i -g [email protected]
29+
run: npm i -g [email protected] --ignore-scripts
3030

3131
- name: Bootstrap Monorepo
32-
run: lerna bootstrap
32+
run: lerna bootstrap --ignore-scripts
3333

3434
- name: Run Test Cases
3535
run: npx lerna run test

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
2222
- name: Run npm install
2323
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
24-
run: npm ci
24+
run: npm ci --ignore-scripts
2525

2626
- name: Install Lerna
27-
run: npm i -g [email protected]
27+
run: npm i -g [email protected] --ignore-scripts
2828

2929
- name: Bootstrap Monorepo
30-
run: lerna bootstrap
30+
run: lerna bootstrap --ignore-scripts
3131

3232
- name: Run test
3333
run: lerna run test

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939

4040
- name: Bootstrap
4141
run: |
42-
npm ci
43-
44-
lerna bootstrap
42+
npm ci --ignore-scripts
43+
npm i -g [email protected] --ignore-scripts
44+
lerna bootstrap --ignore-scripts
4545
- name: Test
4646
run: npx lerna run test
4747
- name: Stash Changes

0 commit comments

Comments
 (0)