Skip to content

Commit

Permalink
Run the eslint check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongrout committed Jan 7, 2020
1 parent 59d8492 commit 0956090
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install, build, integrity, test
run: |
yarn install --frozen-lockfile
yarn run build
yarn run integrity
yarn run eslint:check
5 changes: 2 additions & 3 deletions .github/workflows/testjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ jobs:
${{ runner.os }}-yarn-
- name: yarn install, build, integrity, test
run: |
yarn install
yarn install --frozen-lockfile
yarn run build
yarn run integrity
pushd packages/base
yarn run test:unit:firefox:headless
popd
Expand Down

0 comments on commit 0956090

Please sign in to comment.