Skip to content

Commit 756d8b9

Browse files
srtaalejzimeg
andauthored
ci: add build step before publish (#2511)
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
1 parent fe137db commit 756d8b9

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,21 @@ jobs:
6565
- name: Install dependencies
6666
run: npm install --verbose
6767

68+
- name: Build packages
69+
run: |
70+
# Build base dependencies
71+
npm run build --workspace=@slack/logger
72+
npm run build --workspace=@slack/types
73+
74+
# Build packages requiring base dependencies
75+
npm run build --workspace=@slack/web-api
76+
npm run build --workspace=@slack/webhook
77+
78+
# Build packages that depend on the Web API
79+
npm run build --workspace=@slack/oauth
80+
npm run build --workspace=@slack/rtm-api
81+
npm run build --workspace=@slack/socket-mode
82+
6883
- name: Publish to npm and create GitHub releases
6984
uses: changesets/action@c48e67d110a68bc90ccf1098e9646092baacaa87 # v1.6.0
7085
with:

0 commit comments

Comments
 (0)