diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f193dad34..2f39b31a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,21 @@ jobs: - name: Install dependencies run: npm install --verbose + - name: Build packages + run: | + # Build base dependencies + npm run build --workspace=@slack/logger + npm run build --workspace=@slack/types + + # Build packages requiring base dependencies + npm run build --workspace=@slack/web-api + npm run build --workspace=@slack/webhook + + # Build packages that depend on the Web API + npm run build --workspace=@slack/oauth + npm run build --workspace=@slack/rtm-api + npm run build --workspace=@slack/socket-mode + - name: Publish to npm and create GitHub releases uses: changesets/action@c48e67d110a68bc90ccf1098e9646092baacaa87 # v1.6.0 with: