mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Fix diff generation for fitness functions (#18508)
This commit is contained in:
parent
2c1ed4e8f0
commit
a4a5b28f2e
11
.github/workflows/fitness-functions.yml
vendored
11
.github/workflows/fitness-functions.yml
vendored
@ -17,12 +17,13 @@ jobs:
|
||||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn
|
||||
|
||||
- name: Run fitness functions
|
||||
env:
|
||||
HEAD_REF: ${{ github.event.pull_request.head.ref }}
|
||||
BASE_REF: ${{ github.event.pull_request.base.ref }}
|
||||
run: |
|
||||
# git fetch origin $HEAD_REF
|
||||
# git fetch origin $BASE_REF
|
||||
# git diff origin/$BASE_REF origin/$HEAD_REF -- . > diff
|
||||
# npm run fitness-functions -- "ci" "./diff"
|
||||
git fetch origin $BASE_REF
|
||||
git diff origin/$BASE_REF HEAD -- . > diff
|
||||
npm run fitness-functions -- "ci" "./diff"
|
Loading…
Reference in New Issue
Block a user