Skip to content

Commit 10704d4

Browse files
committed
fix(deps): update dependencies
1 parent 3d8cae5 commit 10704d4

File tree

1 file changed

+64
-13
lines changed

1 file changed

+64
-13
lines changed

.github/workflows/main.yml

+64-13
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ env:
88
FOLDER_PATH_STORYBOOK_BUILD: ./build-storybook-static
99

1010
jobs:
11-
setup:
12-
name: Setup 🔧
11+
build:
12+
name: Build 🏗️
1313
runs-on: ubuntu-latest
14-
outputs:
15-
cache-hit: ${{ steps.cache_dependencies.outputs.cache-hit }}
16-
1714
steps:
1815
- name: Checkout 🛎️
1916
uses: actions/checkout@v4
@@ -33,35 +30,81 @@ jobs:
3330
if: steps.cache_dependencies.outputs.cache-hit != 'true'
3431
run: npm ci
3532

36-
build:
37-
name: Build 🏗️
38-
runs-on: ubuntu-latest
39-
needs: setup
40-
steps:
4133
- name: Build 🏗️
4234
run: npm run build
4335

4436
lint:
4537
name: Lint ✅
4638
runs-on: ubuntu-latest
47-
needs: setup
4839
steps:
40+
- name: Checkout 🛎️
41+
uses: actions/checkout@v4
42+
43+
- uses: actions/setup-node@v4
44+
with:
45+
node-version: ${{ env.NODE_VERSION }}
46+
47+
- name: Cache dependencies ⚡
48+
id: cache_dependencies
49+
uses: actions/cache@v4
50+
with:
51+
path: node_modules
52+
key: node-modules-${{ hashFiles('package-lock.json') }}
53+
54+
- name: Install dependencies 🔧
55+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
56+
run: npm ci
57+
4958
- name: Lint ✅
5059
run: npm run lint
5160

5261
tsc:
5362
name: TypeScript Compiler 🔎
5463
runs-on: ubuntu-latest
55-
needs: setup
5664
steps:
65+
- name: Checkout 🛎️
66+
uses: actions/checkout@v4
67+
68+
- uses: actions/setup-node@v4
69+
with:
70+
node-version: ${{ env.NODE_VERSION }}
71+
72+
- name: Cache dependencies ⚡
73+
id: cache_dependencies
74+
uses: actions/cache@v4
75+
with:
76+
path: node_modules
77+
key: node-modules-${{ hashFiles('package-lock.json') }}
78+
79+
- name: Install dependencies 🔧
80+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
81+
run: npm ci
82+
5783
- name: TypeScript Compiler 🔎
5884
run: npm run tsc
5985

6086
test:
6187
name: Test 🧪
6288
runs-on: ubuntu-latest
63-
needs: setup
6489
steps:
90+
- name: Checkout 🛎️
91+
uses: actions/checkout@v4
92+
93+
- uses: actions/setup-node@v4
94+
with:
95+
node-version: ${{ env.NODE_VERSION }}
96+
97+
- name: Cache dependencies ⚡
98+
id: cache_dependencies
99+
uses: actions/cache@v4
100+
with:
101+
path: node_modules
102+
key: node-modules-${{ hashFiles('package-lock.json') }}
103+
104+
- name: Install dependencies 🔧
105+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
106+
run: npm ci
107+
65108
- name: Test 🧪
66109
run: npm run test-report
67110

@@ -85,6 +128,10 @@ jobs:
85128
path: node_modules
86129
key: node-modules-${{ hashFiles('package-lock.json') }}
87130

131+
- name: Install dependencies 🔧
132+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
133+
run: npm ci
134+
88135
- name: Build 🏗️
89136
run: npm run storybook-build
90137

@@ -115,6 +162,10 @@ jobs:
115162
path: node_modules
116163
key: node-modules-${{ hashFiles('package-lock.json') }}
117164

165+
- name: Install dependencies 🔧
166+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
167+
run: npm ci
168+
118169
- name: Version Info 💉
119170
env:
120171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)