Skip to content

Commit 3a21653

Browse files
authored
Merge branch 'main' into chore/fix-ci
2 parents 437c401 + 81707e3 commit 3a21653

121 files changed

Lines changed: 7914 additions & 4306 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/autofix.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,27 @@ jobs:
2222
runs-on: ubuntu-24.04-arm
2323

2424
steps:
25-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626
with:
2727
persist-credentials: false
2828

29-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
29+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
3030
with:
3131
node-version: lts/*
3232
cache: true
33+
sfw: true
3334

34-
- name: 🎨 Check for non-RTL/non-a11y CSS classes
35-
run: vp run lint:css
35+
- parallel:
36+
- name: 🎨 Check for non-RTL/non-a11y CSS classes
37+
run: vp run lint:css
3638

37-
- name: 🌐 Compare translations
38-
run: vp run i18n:check
39+
- name: 🌐 Compare translations
40+
run: vp run i18n:check
3941

40-
- name: 🌍 Update lunaria data
41-
run: vp run build:lunaria
42+
- name: 🌍 Update lunaria data
43+
run: vp run build:lunaria
4244

43-
- name: 🔠 Fix lint errors
44-
run: vp run lint:fix
45+
- name: 🔠 Fix lint errors
46+
run: vp run lint:fix
4547

4648
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2

.github/workflows/chromatic.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,24 @@ jobs:
2020

2121
steps:
2222
- name: ☑️ Checkout
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2424
with:
2525
fetch-depth: 0
2626
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
2727
ref: ${{ github.event.pull_request.head.sha || github.sha }}
2828
persist-credentials: false
2929

30-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
30+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
3131
with:
3232
node-version: lts/*
3333
cache: true
34-
35-
- name: 🟧 Install pnpm globally
36-
run: vp install -g pnpm
34+
sfw: true
3735

3836
- name: 🧪 Run Chromatic Visual and Accessibility Tests
39-
uses: chromaui/action@8a2b82547aef5a3efc8ec3c7905f4ab09a76ed0b # v16.1.0
37+
uses: chromaui/action@7804f34e4e59c0d9b3c856848f46ad96d7897429 # v17.5.0
38+
with:
39+
buildCommand: vp run build-storybook
40+
outputDir: storybook-static
4041
env:
4142
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
4243
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

.github/workflows/ci.yml

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
runs-on: ubuntu-24.04-arm
2727

2828
steps:
29-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3030
with:
3131
persist-credentials: false
3232

33-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
33+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
3434
with:
3535
node-version: lts/*
36-
run-install: false
37-
38-
- name: 📦 Install dependencies (root only, no scripts)
39-
run: vp install --filter . --ignore-scripts
36+
sfw: true
37+
# root only, no scripts
38+
run-install: |
39+
- args: ['--filter', '.', '--ignore-scripts']
4040
4141
- name: 🔠 Lint project
4242
run: vp run lint
@@ -46,14 +46,15 @@ jobs:
4646
runs-on: ubuntu-24.04-arm
4747

4848
steps:
49-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
49+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5050
with:
5151
persist-credentials: false
5252

53-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
53+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
5454
with:
5555
node-version: lts/*
5656
cache: true
57+
sfw: true
5758

5859
- name: 💪 Type check
5960
run: vp run test:types
@@ -63,21 +64,22 @@ jobs:
6364
runs-on: ubuntu-24.04-arm
6465

6566
steps:
66-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
67+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6768
with:
6869
persist-credentials: false
6970

70-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
71+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
7172
with:
7273
node-version: lts/*
7374
cache: true
75+
sfw: true
7476

7577
- name: 🧪 Unit tests
7678
run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
7779

7880
- name: ⬆︎ Upload test results to Codecov
7981
if: ${{ !cancelled() }}
80-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
82+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
8183
with:
8284
disable_search: true
8385
files: test-report.junit.xml
@@ -88,7 +90,7 @@ jobs:
8890

8991
- name: ⬆︎ Upload coverage reports to Codecov
9092
if: ${{ !cancelled() }}
91-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
93+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
9294
with:
9395
disable_search: true
9496
files: coverage/clover.xml
@@ -101,14 +103,15 @@ jobs:
101103
runs-on: ubuntu-24.04-arm
102104

103105
steps:
104-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
106+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
105107
with:
106108
persist-credentials: false
107109

108-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
110+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
109111
with:
110112
node-version: lts/*
111113
cache: true
114+
sfw: true
112115

113116
- name: 🌐 Install browser
114117
run: vp exec playwright install chromium-headless-shell
@@ -118,7 +121,7 @@ jobs:
118121

119122
- name: ⬆︎ Upload test results to Codecov
120123
if: ${{ !cancelled() }}
121-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
124+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
122125
with:
123126
disable_search: true
124127
files: test-report.junit.xml
@@ -129,7 +132,7 @@ jobs:
129132

130133
- name: ⬆︎ Upload coverage reports to Codecov
131134
if: ${{ !cancelled() }}
132-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
135+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
133136
with:
134137
disable_search: true
135138
files: coverage/clover.xml
@@ -144,17 +147,18 @@ jobs:
144147
image: mcr.microsoft.com/playwright:v1.60.0-noble@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
145148

146149
steps:
147-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
150+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
148151
with:
149152
persist-credentials: false
150153

151154
- name: 👑 Fix Git ownership
152155
run: git config --global --add safe.directory /__w/npmx.dev/npmx.dev
153156

154-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
157+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
155158
with:
156159
node-version: lts/*
157160
cache: true
161+
sfw: true
158162

159163
- name: 🏗️ Build project
160164
run: vp run build:test
@@ -166,7 +170,7 @@ jobs:
166170

167171
- name: ⬆︎ Upload test results to Codecov
168172
if: ${{ !cancelled() }}
169-
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
173+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
170174
with:
171175
disable_search: true
172176
files: test-report.junit.xml
@@ -184,14 +188,15 @@ jobs:
184188
mode: [dark, light]
185189

186190
steps:
187-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
191+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
188192
with:
189193
persist-credentials: false
190194

191-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
195+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
192196
with:
193197
node-version: lts/*
194198
cache: true
199+
sfw: true
195200

196201
- name: 🏗️ Build project
197202
run: vp run build:test
@@ -207,14 +212,15 @@ jobs:
207212
runs-on: ubuntu-24.04-arm
208213

209214
steps:
210-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
215+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
211216
with:
212217
persist-credentials: false
213218

214-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
219+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
215220
with:
216221
node-version: lts/*
217222
cache: true
223+
sfw: true
218224

219225
- name: 🧹 Check for unused code
220226
run: vp run knip
@@ -224,17 +230,17 @@ jobs:
224230
runs-on: ubuntu-24.04-arm
225231

226232
steps:
227-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
233+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
228234
with:
229235
persist-credentials: false
230236

231-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
237+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
232238
with:
233239
node-version: lts/*
234-
run-install: false
235-
236-
- name: 📦 Install dependencies (root only, no scripts)
237-
run: vp install --filter . --ignore-scripts
240+
sfw: true
241+
# root only, no scripts
242+
run-install: |
243+
- args: ['--filter', '.', '--ignore-scripts']
238244
239245
- name: 🌐 Check for missing or dynamic i18n keys
240246
run: vp run i18n:report

.github/workflows/dependency-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-slim
2626

2727
steps:
28-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2929
with:
3030
fetch-depth: 0
3131
persist-credentials: false

.github/workflows/deploy-canary.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,23 @@ jobs:
1717
name: 🚀 Deploy to canary (main.npmx.dev)
1818
runs-on: ubuntu-24.04-arm
1919
steps:
20-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2121
with:
2222
persist-credentials: false
2323
fetch-depth: 2
2424

25-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
25+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
2626
with:
2727
node-version: lts/*
2828
run-install: false
2929

30-
- run: vp install -g vercel
30+
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
31+
with:
32+
mode: firewall-free
33+
# Version of the underlying sfw to use (no `v` prefix): https://github.com/SocketDev/sfw-free/releases
34+
firewall-version: 1.12.0
35+
36+
- run: sfw vp i -g vercel@54.12.2
3137
- run: vercel deploy --target=canary
3238
env:
3339
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}

.github/workflows/lunaria.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626
with:
2727
# Necessary for Lunaria to work properly
2828
# Makes the action clone the entire git history
2929
fetch-depth: 0
3030
persist-credentials: false
3131

32-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
32+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
3333
with:
3434
node-version: lts/*
3535
cache: true
36+
sfw: true
3637

3738
- name: Generate Lunaria Overview
3839
uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # astro-docs

.github/workflows/mirror-tangled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-24.04-arm
2222

2323
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
fetch-depth: 0
2727
persist-credentials: false

.github/workflows/release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
pull-requests: write # create or update the release pull request
2222

2323
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
fetch-depth: 0
2727
persist-credentials: false
2828

29-
- uses: voidzero-dev/setup-vp@ca1c46663915d6c1042ae23bd39ab85718bfb0fa # v1.10.0
29+
- uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
3030
with:
3131
node-version: lts/*
3232
run-install: false

0 commit comments

Comments
 (0)