Skip to content

Commit ee153cd

Browse files
author
Maël Lavault
committed
make sure deps are installed before building
1 parent a07074f commit ee153cd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
uses: actions/setup-node@v4
5858
with:
5959
node-version: '22'
60+
cache: 'yarn'
61+
62+
- name: Install root dependencies
63+
run: yarn install --frozen-lockfile
6064

6165
- name: Lint files
6266
run: yarn lint
@@ -74,6 +78,10 @@ jobs:
7478
uses: actions/setup-node@v4
7579
with:
7680
node-version: '22'
81+
cache: 'yarn'
82+
83+
- name: Install root dependencies
84+
run: yarn install --frozen-lockfile
7785

7886
- name: Typecheck files
7987
run: yarn typescript
@@ -91,6 +99,10 @@ jobs:
9199
uses: actions/setup-node@v4
92100
with:
93101
node-version: '22'
102+
cache: 'yarn'
103+
104+
- name: Install root dependencies
105+
run: yarn install --frozen-lockfile
94106

95107
- name: Run unit tests
96108
run: yarn test --coverage
@@ -121,6 +133,10 @@ jobs:
121133
uses: actions/setup-node@v4
122134
with:
123135
node-version: '22'
136+
cache: 'yarn'
137+
138+
- name: Install root dependencies
139+
run: yarn install --frozen-lockfile
124140

125141
- name: Build package
126142
run: yarn prepare

0 commit comments

Comments
 (0)