File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments