mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
fix(cli): add --base
option to run test
command
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -109,5 +109,12 @@ jobs:
|
||||
- name: 'Install programming-challenges'
|
||||
run: 'npm install --global'
|
||||
|
||||
- uses: 'nrwl/last-successful-commit-action@v1'
|
||||
id: 'last_successful_commit'
|
||||
with:
|
||||
branch: 'master'
|
||||
workflow_id: 'ci.yml'
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: 'Test'
|
||||
run: 'programming-challenges run test --affected --ci'
|
||||
run: 'programming-challenges run test --affected --ci --base=${{ steps.last_successful_commit.outputs.commit_hash }}'
|
||||
|
Reference in New Issue
Block a user