This commit is contained in:
Severiano Badajoz
2020-04-01 16:51:21 -07:00
parent 89d19cdc93
commit 5ec13a2115
+2 -3
View File
@@ -12,7 +12,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Set up Python 3.7 - name: Set up Python 3.7
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
@@ -30,8 +30,7 @@ jobs:
make lint make lint
- name: Lint with eslint - name: Lint with eslint
run: | run: |
if(${GITHUB_REF} == "refs/heads/master") then make lint-client; else make lint-diff-client; fi if("$GITHUB_REF" == "refs/heads/master") then make lint-client; else make lint-diff-client; fi
unit-test: unit-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest