mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-22 11:22:43 +02: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:
|
with:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn
|
||||||
|
|
||||||
- name: Run fitness functions
|
- name: Run fitness functions
|
||||||
env:
|
env:
|
||||||
HEAD_REF: ${{ github.event.pull_request.head.ref }}
|
|
||||||
BASE_REF: ${{ github.event.pull_request.base.ref }}
|
BASE_REF: ${{ github.event.pull_request.base.ref }}
|
||||||
run: |
|
run: |
|
||||||
# git fetch origin $HEAD_REF
|
git fetch origin $BASE_REF
|
||||||
# git fetch origin $BASE_REF
|
git diff origin/$BASE_REF HEAD -- . > diff
|
||||||
# git diff origin/$BASE_REF origin/$HEAD_REF -- . > diff
|
npm run fitness-functions -- "ci" "./diff"
|
||||||
# npm run fitness-functions -- "ci" "./diff"
|
|
Loading…
Reference in New Issue
Block a user