Skip to content

Commit 0d76b31

Browse files
committed
ci: remove unneeded install + fix run command
1 parent aeab360 commit 0d76b31

5 files changed

Lines changed: 9 additions & 28 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
node-version: lts/*
2626
cache: true
2727

28-
- name: 📦 Install dependencies
29-
run: vp install
30-
3128
- name: 🎨 Check for non-RTL/non-a11y CSS classes
3229
run: vp run lint:css
3330

.github/workflows/chromatic.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ jobs:
3131
node-version: lts/*
3232
cache: true
3333

34-
- name: 📦 Install dependencies
35-
run: vp install
34+
- name: 🏗️ Build Storybook
35+
run: vp run build-storybook
3636

3737
- name: 🧪 Run Chromatic Visual and Accessibility Tests
3838
uses: chromaui/action@5ec258af08deb3e8c36653bd618cb7fe52090031 # v15.2.0
39+
with:
40+
storybookBuildDir: storybook-static
3941
env:
4042
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
4143
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

.github/workflows/ci.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
node-version: lts/*
3434
cache: true
35+
run-install: false
3536

3637
- name: 📦 Install dependencies (root only, no scripts)
3738
run: vp install --filter . --ignore-scripts
@@ -51,9 +52,6 @@ jobs:
5152
node-version: lts/*
5253
cache: true
5354

54-
- name: 📦 Install dependencies
55-
run: vp install
56-
5755
- name: 💪 Type check
5856
run: vp run test:types
5957

@@ -69,11 +67,8 @@ jobs:
6967
node-version: lts/*
7068
cache: true
7169

72-
- name: 📦 Install dependencies
73-
run: vp install
74-
7570
- name: 🧪 Unit tests
76-
run: vp test --project unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
71+
run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
7772

7873
- name: ⬆︎ Upload test results to Codecov
7974
if: ${{ !cancelled() }}
@@ -93,14 +88,11 @@ jobs:
9388
node-version: lts/*
9489
cache: true
9590

96-
- name: 📦 Install dependencies
97-
run: vp install
98-
9991
- name: 🌐 Install browser
10092
run: vp exec playwright install chromium-headless-shell
10193

10294
- name: 🧪 Component tests
103-
run: vp test --project nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
95+
run: vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
10496

10597
- name: ⬆︎ Upload coverage reports to Codecov
10698
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
@@ -128,9 +120,6 @@ jobs:
128120
node-version: lts/*
129121
cache: true
130122

131-
- name: 📦 Install dependencies
132-
run: vp install
133-
134123
- name: 🏗️ Build project
135124
run: vp run build:test
136125
env:
@@ -154,9 +143,6 @@ jobs:
154143
node-version: lts/*
155144
cache: true
156145

157-
- name: 📦 Install dependencies
158-
run: vp install
159-
160146
- name: 🏗️ Build project
161147
run: vp run build:test
162148

@@ -178,9 +164,6 @@ jobs:
178164
node-version: lts/*
179165
cache: true
180166

181-
- name: 📦 Install dependencies
182-
run: vp install
183-
184167
- name: 🧹 Check for unused code
185168
run: vp run knip
186169

@@ -198,6 +181,7 @@ jobs:
198181
with:
199182
node-version: lts/*
200183
cache: true
184+
run-install: false
201185

202186
- name: 📦 Install dependencies (root only, no scripts)
203187
run: vp install --filter . --ignore-scripts

.github/workflows/lunaria.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,5 @@ jobs:
3333
node-version: lts/*
3434
cache: true
3535

36-
- name: 📦 Install dependencies
37-
run: vp install
38-
3936
- name: Generate Lunaria Overview
4037
uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # v1-prerelease

.github/workflows/release-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
node-version: lts/*
2929
cache: true
30+
run-install: false
3031

3132
- name: 🔢 Determine next version
3233
id: version

0 commit comments

Comments
 (0)