Skip to content

Commit 6f0c01a

Browse files
committed
Set the e2es to install the main node modules
1 parent 1b4fe7d commit 6f0c01a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@ jobs:
2121
with:
2222
node-version: 16
2323
registry-url: https://registry.npmjs.org/
24+
25+
- name: npm install
26+
run : npm ci
27+
2428
- name: npm install test project
2529
run : npm ci
2630
working-directory: ./e2e/test-projects/${{ matrix.package }}
31+
2732
- name: Run generate-license-file
2833
uses: ./
2934
with:
3035
input: './e2e/test-projects/${{ matrix.package }}/package.json'
3136
output: './e2e/test-projects/${{ matrix.package }}/${{ github.job }}.txt'
37+
3238
- name: Assert generated output
3339
shell: pwsh
3440
run: |
@@ -53,15 +59,21 @@ jobs:
5359
with:
5460
node-version: 16
5561
registry-url: https://registry.npmjs.org/
62+
63+
- name: npm install
64+
run : npm ci
65+
5666
- name: npm install test project
5767
run : npm ci
5868
working-directory: ./e2e/test-projects/${{ matrix.package }}
69+
5970
- name: Run generate-license-file
6071
uses: ./
6172
with:
6273
input: './e2e/test-projects/${{ matrix.package }}/package.json'
6374
output: './e2e/test-projects/${{ matrix.package }}/${{ github.job }}.txt'
6475
lineEnding: 'windows'
76+
6577
- name: Assert generated output
6678
shell: pwsh
6779
run: |
@@ -84,15 +96,21 @@ jobs:
8496
with:
8597
node-version: 16
8698
registry-url: https://registry.npmjs.org/
99+
100+
- name: npm install
101+
run : npm ci
102+
87103
- name: npm install test project
88104
run : npm ci
89105
working-directory: ./e2e/test-projects/${{ matrix.package }}
106+
90107
- name: Run generate-license-file
91108
uses: ./
92109
with:
93110
input: './e2e/test-projects/${{ matrix.package }}/package.json'
94111
output: './e2e/test-projects/${{ matrix.package }}/${{ github.job }}.txt'
95112
lineEnding: 'posix'
113+
96114
- name: Assert generated output
97115
shell: pwsh
98116
run: |

0 commit comments

Comments
 (0)