Skip to content

Commit

Permalink
chore(ci): split up codequality workflow #912
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed May 20, 2022
1 parent 03b735b commit 25926eb
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Code quality - linting

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]

jobs:
codequality:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
cache: "yarn"

- run: yarn install

- name: Linting
run: yarn lint:js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code quality - lint, typecheck, tests
name: Code quality - typecheck

on:
push:
Expand All @@ -20,11 +20,5 @@ jobs:

- run: yarn install

- name: Linting
run: yarn lint:js

- name: Typechecking
run: yarn tsc:compile

- name: Testing
run: yarn test
24 changes: 24 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Code quality - unit tests

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]

jobs:
codequality:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
cache: "yarn"

- run: yarn install

- name: Testing
run: yarn test

0 comments on commit 25926eb

Please sign in to comment.