Skip to content

Commit

Permalink
ci: upload code-push reports in quality pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherPHolder authored Apr 26, 2024
2 parents a4ad8c7 + a65101d commit 4382e97
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: quality

on:
push:
branches:
- main
paths-ignore:
- '*.md'

jobs:
quality:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
name: Node ${{ matrix.node }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Clean Install
run: npm clean-install

- name: Collect and upload Code PushUp report
run: npx code-pushup autorun
env:
CP_API_KEY: ${{ secrets.CP_API_KEY }}
NODE_OPTIONS: --max-old-space-size=8192

- name: Save report files as workflow artifact
uses: actions/upload-artifact@v3
with:
name: code-pushup-report
path: .code-pushup/

0 comments on commit 4382e97

Please sign in to comment.