Skip to content

Commit

Permalink
fix: incorrect eslint prettier config + rename tests task to lint unt…
Browse files Browse the repository at this point in the history
…il tests are implemented

Signed-off-by: Kevin Viglucci <[email protected]>
  • Loading branch information
viglucci committed Jul 29, 2021
1 parent 1a118f9 commit f7bf4ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["prettier"],
rules: {
"prettier/prettier": [
"error",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Tests
name: Lint

on:
push:
pull_request:
branches: [ $default-branch ]

jobs:
tests:
lint:
runs-on: ubuntu-latest

steps:
Expand All @@ -18,6 +18,9 @@ jobs:
with:
node-version: 12

- name: Install Yarn
run: npm install -g yarn

- name: Cache dependencies
uses: actions/cache@v2
with:
Expand All @@ -32,6 +35,3 @@ jobs:

- name: Lint
run: yarn lint

- name: Test
run: yarn test

0 comments on commit f7bf4ff

Please sign in to comment.