Skip to content

Commit

Permalink
Simplify GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Nov 21, 2020
1 parent 933603c commit 6b3a238
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,6 @@ on:

jobs:

lint:
name: "lint"
env:
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v2-beta
with:
node-version: 12.x

- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
run: yarn
- name: lint js
run: yarn lint:js
- name: lint hbs
run: yarn lint:hbs

floating:
name: "Floating dependencies"
env:
Expand Down Expand Up @@ -72,7 +43,10 @@ jobs:
${{ runner.os }}-yarn-
- name: yarn install
run: yarn

- name: lint js
run: yarn lint:js
- name: lint hbs
run: yarn lint:hbs
- name: test
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}

0 comments on commit 6b3a238

Please sign in to comment.