Skip to content

Commit

Permalink
ci: merge jobs lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Oct 26, 2021
1 parent 811afb2 commit 0332279
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@ name: CI
on:
push:
branches:
- main
- master
pull_request: {}

env:
NODE_VERSION: '12'
NODE_VERSION: 12

jobs:
lint:
name: Lint
test:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v2

Expand All @@ -31,33 +29,14 @@ jobs:
- name: Lint
run: yarn run lint

test:
name: Tests
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Run Tests
run: yarn run test:ember

floating:
name: Floating Dependencies
needs: lint
needs: test
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v2

Expand All @@ -77,7 +56,6 @@ jobs:
needs: test
runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 0332279

Please sign in to comment.