GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: ci updates (#3523) · lerna/lerna@70de43c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • e2e
    • changed
      • project.json
    • clean
      • project.json
    • create
      • project.json
    • diff
      • project.json
    • exec
      • project.json
    • info
      • project.json
    • init
      • project.json
    • list
      • project.json
    • publish
      • project.json
    • repair
      • project.json
    • run/legacy-task-runner
      • project.json
    • version
      • project.json
    • watch
      • project.json
  • nx.json
  • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+25-13Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
1717
NX_CLOUD_DISTRIBUTED_EXECUTION: true
1818
NX_BRANCH: ${{ github.event.number || github.ref_name }}
19-
NX_VERBOSE_LOGGING: false
19+
NX_VERBOSE_LOGGING: true
2020

2121
jobs:
2222
main:
@@ -27,23 +27,33 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: Derive appropriate SHAs for base and head for `nx affected` commands
31-
uses: nrwl/nx-set-shas@v3
30+
- uses: nrwl/nx-set-shas@v3
31+
32+
- name: Set NX_RUN_GROUP
33+
shell: bash
34+
run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-linux" >> $GITHUB_ENV
35+
36+
- name: Log NX_RUN_GROUP
37+
shell: bash
38+
run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
3239

3340
- name: Install primary node version (see volta config in package.json) and dependencies
3441
uses: ./.github/actions/install-node-and-dependencies
3542

43+
- run: npx nx run-many -t build --parallel=3 --no-dte --skip-nx-cache
44+
3645
- name: Run parallel distributed tasks
3746
uses: jameshenry/parallel-bash-commands@v1
3847
with:
3948
cmd1: npx nx-cloud record -- npx nx format:check
4049
cmd2: npx nx-cloud record -- npx nx workspace-lint
50+
# cmd3: npx nx run-many -t build --parallel=3
4151
cmd3: npx nx run-many -t lint --parallel=3
4252
cmd4: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
4353
cmd5: npx nx run integration:integration --ci --maxWorkers=2
4454

4555
# e2e tests for everything except the primary task runner
46-
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --target=run-e2e-tests-process --parallel=1
56+
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1
4757

4858
- name: Stop all running agents for Nx Run Group ${{ env.NX_RUN_GROUP }}
4959
# It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
@@ -59,6 +69,14 @@ jobs:
5969
steps:
6070
- uses: actions/checkout@v3
6171

72+
- name: Set NX_RUN_GROUP
73+
shell: bash
74+
run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-linux" >> $GITHUB_ENV
75+
76+
- name: Log NX_RUN_GROUP
77+
shell: bash
78+
run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
79+
6280
- name: Configure git metadata
6381
run: |
6482
git config --global user.email [email protected]
@@ -67,14 +85,11 @@ jobs:
6785
- name: Install primary node version (see volta config in package.json) and dependencies
6886
uses: ./.github/actions/install-node-and-dependencies
6987

70-
- run: npm run e2e-start-local-registry
71-
72-
- run: NX_VERBOSE_LOGGING=true PUBLISHED_VERSION=999.9.9-e2e.0 npm run e2e-build-package-publish
73-
7488
- name: Start Nx Agent ${{ matrix.agent }}
7589
run: npx nx-cloud start-agent
7690
env:
7791
NX_AGENT_NAME: ${{ matrix.agent }}
92+
NX_RUN_GROUP: ${{ env.NX_RUN_GROUP }}
7893

7994
windows-main:
8095
name: Nx Cloud - Windows Main Job
@@ -83,11 +98,6 @@ jobs:
8398
LERNA_OS_TYPE: windows
8499
steps:
85100
- uses: actions/checkout@v3
86-
with:
87-
fetch-depth: 0
88-
89-
- name: Derive appropriate SHAs for base and head for `nx affected` commands
90-
uses: nrwl/nx-set-shas@v3
91101

92102
- name: Set NX_RUN_GROUP
93103
shell: bash
@@ -150,6 +160,8 @@ jobs:
150160
- name: Install primary node version (see volta config in package.json) and dependencies
151161
uses: ./.github/actions/install-node-and-dependencies
152162

163+
- run: npx nx reset
164+
153165
- name: Start Nx Agent ${{ matrix.agent }}
154166
run: npx nx-cloud start-agent
155167
env:
Collapse file

‎e2e/changed/project.json‎

Copy file name to clipboardExpand all lines: e2e/changed/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-changed"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-changed"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-changed",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/changed/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/changed"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],
Collapse file

‎e2e/clean/project.json‎

Copy file name to clipboardExpand all lines: e2e/clean/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-clean"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-clean"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-clean",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/clean/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/clean"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],
Collapse file

‎e2e/create/project.json‎

Copy file name to clipboardExpand all lines: e2e/create/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-create"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-create"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-create",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/create/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/create"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],
Collapse file

‎e2e/diff/project.json‎

Copy file name to clipboardExpand all lines: e2e/diff/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-diff"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-diff"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-diff",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/diff/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/diff"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],
Collapse file

‎e2e/exec/project.json‎

Copy file name to clipboardExpand all lines: e2e/exec/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-exec"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-exec"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-exec",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/exec/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/exec"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],
Collapse file

‎e2e/info/project.json‎

Copy file name to clipboardExpand all lines: e2e/info/project.json
+3-38Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,9 @@
44
"implicitDependencies": ["lerna", "commands-info"],
55
"tags": [],
66
"targets": {
7-
"e2e": {
8-
"executor": "nx:run-commands",
9-
"options": {
10-
"commands": [
11-
{
12-
"command": "npm run e2e-start-local-registry"
13-
},
14-
{
15-
"command": "npm run e2e-build-package-publish"
16-
},
17-
{
18-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-info"
19-
}
20-
],
21-
"parallel": false
22-
}
23-
},
24-
"run-e2e-tests-process": {
25-
"executor": "nx:run-commands",
26-
"options": {
27-
"commands": [
28-
{
29-
"command": "E2E_ROOT=$(npx ts-node tools/scripts/set-e2e-root.ts) nx run-e2e-tests e2e-info",
30-
"description": "This additional wrapper target exists so that we can ensure that the e2e tests run in a dedicated process with enough memory"
31-
}
32-
],
33-
"parallel": false
34-
}
35-
},
36-
"run-e2e-tests": {
37-
"executor": "@nrwl/jest:jest",
38-
"options": {
39-
"jestConfig": "e2e/info/jest.config.ts",
40-
"passWithNoTests": true,
41-
"runInBand": true
42-
},
43-
"outputs": ["{workspaceRoot}/coverage/e2e/info"]
44-
},
7+
"e2e": {},
8+
"run-e2e-tests-process": {},
9+
"run-e2e-tests": {},
4510
"lint": {
4611
"executor": "@nrwl/linter:eslint",
4712
"outputs": ["{options.outputFile}"],

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.