Skip to content

Commit 5e6eb49

Browse files
committed
ci: Merge the workflows (sorry for sneaking in)
1 parent 8f41e93 commit 5e6eb49

File tree

2 files changed

+15
-27
lines changed

2 files changed

+15
-27
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,28 @@ jobs:
1818
with:
1919
node-version: 22
2020
cache: npm
21+
cache-dependency-path: '**/package-lock.json'
2122

2223
- name: Install NPM dependencies
2324
run: npm ci
2425

25-
- name: build
26-
run: npm run build
27-
2826
- name: test
2927
env:
3028
CI: true
3129
run: |
3230
npm run lint
3331
npm run test
32+
33+
size:
34+
name: Compressed Size
35+
runs-on: ubuntu-latest
36+
timeout-minutes: 5
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: 22
42+
cache: 'npm'
43+
cache-dependency-path: '**/package-lock.json'
44+
45+
- uses: preactjs/compressed-size-action@v2

.github/workflows/size.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)