1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Fix diff generation for fitness functions (#18508)

This commit is contained in:
Pedro Figueiredo 2023-04-25 16:21:14 +01:00 committed by GitHub
parent 2c1ed4e8f0
commit a4a5b28f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"