Skip to content

Commit 932cb66

Browse files
benmccanndummdidumm
authored andcommitted
chore: simplify Svelte 4 CI (#8487)
1 parent f0cdf77 commit 932cb66

File tree

3 files changed

+1
-50
lines changed

3 files changed

+1
-50
lines changed

.github/workflows/ci.yml

-42
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,7 @@ on:
66
permissions:
77
contents: read # to fetch code (actions/checkout)
88
jobs:
9-
Setup:
10-
runs-on: ${{ matrix.os }}
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest, macOS-latest]
14-
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
17-
with:
18-
node-version: 18
19-
cache: npm
20-
- run: npm install
21-
env:
22-
SKIP_PREPARE: true
23-
- run: npm run build
24-
env:
25-
PUBLISH: true
26-
- name: Upload build assets
27-
id: upload-artifact
28-
uses: actions/upload-artifact@v3
29-
with:
30-
name: build-assets
31-
path: |
32-
index.*
33-
compiler.*
34-
ssr.*
35-
action/
36-
animate/
37-
easing/
38-
internal/
39-
motion/
40-
store/
41-
transition/
42-
types/
439
Tests:
44-
needs: Setup
4510
runs-on: ${{ matrix.os }}
4611
timeout-minutes: 15
4712
strategy:
@@ -54,14 +19,7 @@ jobs:
5419
with:
5520
node-version: ${{ matrix.node-version }}
5621
cache: npm
57-
- name: Download build assets
58-
uses: actions/download-artifact@v3
59-
id: download-artifact
60-
with:
61-
name: build-assets
6222
- run: npm install
63-
env:
64-
SKIP_PREPARE: true
6523
- run: npm run test:integration
6624
env:
6725
CI: true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"test:unit": "mocha --config .mocharc.unit.js --exit",
9696
"quicktest": "mocha --exit",
9797
"build": "rollup -c && npm run tsd",
98-
"prepare": "node scripts/skip_in_ci.js npm run build",
98+
"prepare": "npm run build",
9999
"dev": "rollup -cw",
100100
"posttest": "agadoo internal/index.mjs",
101101
"prepublishOnly": "node check_publish_env.js && npm run lint && npm run build && npm test",

scripts/skip_in_ci.js

-7
This file was deleted.

0 commit comments

Comments
 (0)