Skip to content

Commit b8c7487

Browse files
authored
ci: collect and upload code pushup report after release (#365)
Close #343
1 parent 0b28d4f commit b8c7487

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,15 @@ jobs:
9090
run: |
9191
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
9292
npx nx run-many -t=deploy --exclude=plugin-lighthouse,nx-plugin
93+
- name: Collect and Upload Code PushUp report
94+
run: npx dist/packages/cli --config code-pushup.config.ts autorun
95+
env:
96+
CP_SERVER: ${{ secrets.CP_SERVER }}
97+
CP_API_KEY: ${{ secrets.CP_API_KEY }}
98+
CP_ORGANIZATION: code-pushup
99+
CP_PROJECT: cli
100+
- name: Save report files as workflow artifact
101+
uses: actions/upload-artifact@v3
102+
with:
103+
name: code-pushup-report
104+
path: .code-pushup/

0 commit comments

Comments
 (0)