Skip to content

Commit

Permalink
ci: skip publishing dependency graph (#2396)
Browse files Browse the repository at this point in the history
* ci: skip publishing dependency graph

* Fewer agent machines

* Fix formatting.
  • Loading branch information
johnhwhite authored Jun 26, 2024
1 parent 57ecd47 commit 1499c19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,7 @@ jobs:
needs: install-deps
strategy:
matrix:
agent:
[
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
]
agent: [1, 2, 3, 4, 5, 6, 7, 8]
steps:
- uses: actions/checkout@v4
- name: Retrieve node_modules cache
Expand Down Expand Up @@ -183,7 +161,7 @@ jobs:
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- name: Build
run: |
npx nx affected --target=build --parallel=10 --exclude '*,!tag:npm'
npx nx affected --target=build --parallel=5 --exclude '*,!tag:npm'
build-dist:
name: Build packages distribution
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ jobs:
matrix:
app:
- code-examples
- dep-graph
- integration
- playground
# - dep-graph
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -231,7 +231,10 @@ jobs:
mkdir -p ./dist/apps
for app in code-examples dep-graph integration playground
do
mv ./dist/${{ fromJson(needs.install-deps.outputs.parameters).storybooksPath }}${app} ./dist/apps/$app
if [ -d "./dist/${{ fromJson(needs.install-deps.outputs.parameters).storybooksPath }}${app}" ]
then
mv ./dist/${{ fromJson(needs.install-deps.outputs.parameters).storybooksPath }}${app} ./dist/apps/$app
fi
done
- name: Generate Storybook Composition
shell: bash
Expand Down

0 comments on commit 1499c19

Please sign in to comment.