-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-suggestedd-general-improvements
# Conflicts: # .gitignore # e2e-examples/cli-e2e-original/setup/global-setup.ts # package-lock.json # package.json
- Loading branch information
Showing
18 changed files
with
3,023 additions
and
471 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Code PushUp | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
env: | ||
NX_NON_NATIVE_HASHER: true | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
code-pushup: | ||
runs-on: ubuntu-latest | ||
name: Code PushUp | ||
# ignore PRs from forks, handled by code-pushup-fork.yml | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
env: | ||
CP_SERVER: ${{ secrets.CP_SERVER }} | ||
CP_API_KEY: ${{ secrets.CP_API_KEY }} | ||
CP_ORGANIZATION: code-pushup | ||
CP_PROJECT: cli | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: npm | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Run Code PushUp action | ||
uses: code-pushup/github-action@v0 | ||
with: | ||
bin: npx nx code-pushup -- |
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 |
---|---|---|
|
@@ -38,5 +38,6 @@ testem.log | |
.DS_Store | ||
Thumbs.db | ||
|
||
.code-pushup | ||
.nx | ||
.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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {CoreConfig} from "@code-pushup/models"; | ||
import nxPerformancePlugin from "./tooling/measures/nx-performance/nx-performance.plugin"; | ||
|
||
const tasks = ['cli-e2e:e2e', 'cli-e2e-original:original-e2e']; | ||
export default { | ||
plugins: [ | ||
nxPerformancePlugin({ | ||
tasks | ||
}) | ||
], | ||
} satisfies CoreConfig; |
Oops, something went wrong.