Skip to content

Commit

Permalink
Merge pull request #255 from push-based/fix/ci-pipeline
Browse files Browse the repository at this point in the history
fix: fix ci job
  • Loading branch information
ChristopherPHolder authored Nov 20, 2023
2 parents 3525b78 + ba371dd commit 8150ae1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ jobs:
strategy:
matrix:
node-version: [18.x]
name: Node ${{ matrix.node }}

steps:
- uses: actions/checkout@v4
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: build
run: npm run nx -- affected:build
run: npm run nx -- affected:build --base=origin/main --head=HEAD
- name: test
run: npm run nx -- affected:test --parallel=1
run: npm run nx -- affected:test --parallel=1 --base=origin/main --head=HEAD
9 changes: 6 additions & 3 deletions .github/workflows/user-flow-md-report-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@ jobs:
strategy:
matrix:
node-version: [18.x]
name: Node ${{ matrix.node }}

steps:
- uses: actions/checkout@v4
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: build
run: npm run nx -- affected:build
run: npm run nx -- affected:build --base=origin/main --head=HEAD
- name: run
run: npm run md-report-test
- name: Add reduced report as comment to the PR
Expand Down

0 comments on commit 8150ae1

Please sign in to comment.