Skip to content

Commit

Permalink
Simplify GA workflow with job defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Sep 22, 2020
1 parent 29378b2 commit de04bb5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,19 @@ jobs:
unit-test:
runs-on: ubuntu-16.04
name: Tests
env:
working-directory: ./build/src
defaults:
run:
working-directory: ./build/src
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "10.x"
- run: yarn install
working-directory: ${{ env.working-directory }}
- run: yarn lint
working-directory: ${{ env.working-directory }}
- run: yarn test
working-directory: ${{ env.working-directory }}
- run: yarn test:int
working-directory: ${{ env.working-directory }}

build-test:
runs-on: ubuntu-16.04
Expand Down

0 comments on commit de04bb5

Please sign in to comment.