File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 48
48
path : dist/*
49
49
if-no-files-found : error
50
50
51
+ # We build on Windows too, purely to check the build process is cross-compatible for contributors
52
+ test-windows-build :
53
+ name : Build & test on Windows
54
+ runs-on : windows-latest
55
+ steps :
56
+ - uses : actions/checkout@v4
57
+ with :
58
+ fetch-depth : 100
59
+
60
+ # Install Node
61
+ - uses : actions/setup-node@v4
62
+ with :
63
+ node-version : 20.8.0
64
+ cache : ' npm'
65
+
66
+ # Install & build & test:
67
+ - run : npm ci
68
+
69
+ - run : npm run test:unit
70
+
71
+ # Build & run normal integration tests:
72
+ - name : Build & test
73
+ run : npm run test:integration
74
+ if : github.ref != 'refs/heads/main'
75
+ env :
76
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # To pull server without rate limit issues in CI
77
+
51
78
publish-netlify :
52
79
name : Deploy ${{ (github.ref == 'refs/heads/main' && 'to Netlify production') || 'Netlify preview' }}
53
80
if : github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments