1
0
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:
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: 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"