Skip to content

Commit

Permalink
ci(repo): build all releasing packages in publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
clemenscodes committed Mar 17, 2024
1 parent 571e28b commit 3d546ca
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -486,20 +486,18 @@ jobs:
if: startsWith(github.ref, 'refs/heads/main') && steps.cache.outputs.cache-hit != 'true'
run: pnpm install --no-frozen-lockfile

- name: Download dist
if: startsWith(github.ref, 'refs/heads/main')
uses: actions/download-artifact@v4
with:
name: dist

- name: Untar dist
- name: Build packages
if: startsWith(github.ref, 'refs/heads/main')
run: |
if [ -d "dist" ]; then
tar xvf dist.tar
else
true
fi
pnpm nx run-many \
--nx-bail \
--configuration=ci \
--output-style=stream \
--no-dte \
--no-cloud \
--skip-nx-cache \
--projects=plugins/* \
-t build
- name: Check npm auth
if: startsWith(github.ref, 'refs/heads/main')
Expand Down

0 comments on commit 3d546ca

Please sign in to comment.