File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,31 @@ jobs:
79
79
-
uses :
coverallsapp/[email protected]
80
80
with :
81
81
github-token : ${{ secrets.GITHUB_TOKEN }}
82
+ build-package-only :
83
+ name : Build (Package Only) - ${{ matrix.os }}/Node ${{ matrix.node_version }}
84
+ strategy :
85
+ fail-fast : false
86
+ matrix :
87
+ node_version :
88
+ - 16
89
+ os :
90
+ - macos-latest
91
+ - ubuntu-latest
92
+ - windows-latest
93
+ runs-on : ${{ matrix.os }}
94
+ steps :
95
+ - uses : actions/checkout@v4
96
+ - uses : actions/setup-node@v4
97
+ with :
98
+ node-version : ${{ matrix.node_version }}
99
+ - run : npm ci
100
+ - run : npm run-s build
82
101
build :
83
102
name : Build - ${{ matrix.os }}/Node ${{ matrix.node_version }}
84
103
strategy :
85
104
fail-fast : false
86
105
matrix :
87
106
node_version :
88
- - 16
89
107
- 18
90
108
- 20
91
109
os :
@@ -126,6 +144,7 @@ jobs:
126
144
- typescript
127
145
- test
128
146
- build
147
+ - build-package-only
129
148
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
130
149
name : GitHub Pages
131
150
runs-on : ubuntu-latest
@@ -160,6 +179,7 @@ jobs:
160
179
- typescript
161
180
- test
162
181
- build
182
+ - build-package-only
163
183
if : github.event.action == 'published'
164
184
name : Publish
165
185
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments