forked from lerna/lerna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
164 changed files
with
6,302 additions
and
4,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,9 @@ concurrency: | |
|
||
env: | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
NX_CLOUD_DISTRIBUTED_EXECUTION: true | ||
NX_VERBOSE_LOGGING: false | ||
COREPACK_ENABLE_AUTO_PIN: "0" | ||
COREPACK_ENABLE_STRICT: "0" | ||
|
||
jobs: | ||
set-node-versions: | ||
|
@@ -46,8 +47,6 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- uses: nrwl/nx-set-shas@v4 | ||
|
||
- name: Install node v${{ matrix.node }} and dependencies | ||
uses: ./.github/actions/install-node-and-dependencies | ||
with: | ||
|
@@ -65,23 +64,15 @@ jobs: | |
- name: Install pnpm v8 | ||
run: corepack install -g pnpm@8 | ||
shell: bash | ||
env: | ||
COREPACK_ENABLE_AUTO_PIN: "0" | ||
|
||
- name: Print installed pnpm version | ||
run: pnpm --version | ||
- name: Print installed node, npm, yarn and pnpm versions | ||
run: | | ||
node --version | ||
npm --version | ||
yarn --version | ||
pnpm --version | ||
shell: bash | ||
|
||
- name: Run parallel distributed builds and tests on each node version | ||
uses: jameshenry/parallel-bash-commands@v1 | ||
with: | ||
cmd1: npx nx run-many -t build --parallel=3 | ||
cmd2: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2 | ||
cmd3: npx nx run integration:integration --ci --maxWorkers=2 | ||
|
||
# e2e tests for everything except the primary task runner | ||
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1 | ||
|
||
- name: Configure git metadata | ||
run: | | ||
git config --global user.email [email protected] | ||
|
@@ -116,6 +107,16 @@ jobs: | |
git config tag.gpgsign true | ||
git config --global user.signingkey $GPG_KEY_ID | ||
- name: Run parallel distributed builds and tests on each node version | ||
uses: jameshenry/parallel-bash-commands@v1 | ||
with: | ||
cmd1: npx nx run-many -t build --parallel=3 | ||
cmd2: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2 | ||
cmd3: npx nx run integration:integration --ci --maxWorkers=2 | ||
|
||
# e2e tests for everything except the primary task runner | ||
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1 | ||
|
||
- name: Run e2e tests for task-runner | ||
run: | | ||
# We do not want the automatic Github Actions grouping to be applied to the e2e tests, or the snapshots won't match local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,5 @@ website/build | |
website/.docusaurus | ||
website/.cache-loader | ||
|
||
.nx/cache | ||
.nx/cache | ||
.nx/workspace-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
|
||
dist | ||
tmp | ||
/.nx/cache | ||
/.nx/cache | ||
/.nx/workspace-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.