1
1
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:
Divlo
2021-06-30 15:23:58 +02:00
parent ede3e7526b
commit 996dcd89c3
3 changed files with 25 additions and 8 deletions

View File

@ -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 }}'