Skip to content

Commit 0e3dd66

Browse files
Revert "fix: ci clean up"
This reverts commit b241e34.
1 parent b241e34 commit 0e3dd66

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,16 @@ jobs:
4848
with:
4949
node-version: 20
5050

51+
- name: Cache node_modules
52+
uses: actions/cache@v4
53+
with:
54+
path: node_modules
55+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: |
57+
${{ runner.os }}-node-
58+
5159
- name: Run Lint
52-
run: npm run lint
60+
run: npm run lint # Stelle sicher, dass du ein Lint-Skript in deinem package.json hast
5361

5462
build:
5563
runs-on: ubuntu-latest
@@ -65,6 +73,14 @@ jobs:
6573
with:
6674
node-version: 20
6775

76+
- name: Cache node_modules
77+
uses: actions/cache@v4
78+
with:
79+
path: node_modules
80+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
81+
restore-keys: |
82+
${{ runner.os }}-node-
83+
6884
- name: Cache dist
6985
uses: actions/cache@v4
7086
with:
@@ -90,5 +106,21 @@ jobs:
90106
with:
91107
node-version: 20
92108

109+
- name: Cache node_modules
110+
uses: actions/cache@v4
111+
with:
112+
path: node_modules
113+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
114+
restore-keys: |
115+
${{ runner.os }}-node-
116+
117+
- name: Cache dist
118+
uses: actions/cache@v4
119+
with:
120+
path: libs/*/dist
121+
key: ${{ runner.os }}-dist-${{ hashFiles('libs/*/dist') }}
122+
restore-keys: |
123+
${{ runner.os }}-dist-
124+
93125
- name: Run CI Checks
94126
run: npm run test

0 commit comments

Comments
 (0)