Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehoczky committed May 19, 2024
1 parent 88cbc5f commit f683b06
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ jobs:
with:
main-branch-name: master

- name: List affected packages
- name: Check for Affected Projects
uses: 2coo/action-nx-affected@v1
id: affected-packages
run: |
echo "npx nx show projects --affected" >> $GITHUB_OUTPUT
with:
base: master

- name: Check formatting 🎨
run: npx nx format:check
Expand All @@ -56,7 +57,7 @@ jobs:
run: pnpm -F @lehoczky/postcss-fluid publish

- name: Deploy demo page 🚀
if: github.ref == 'refs/heads/master' && contains(steps.affected-packages.outputs, 'demo')
if: github.ref == 'refs/heads/master' && contains(steps.affected-packages.outputs.affected, 'demo')
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f683b06

Please sign in to comment.