Skip to content

Commit

Permalink
Update eslintrc, github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Nov 2, 2022
1 parent cab8ff6 commit 6bc668f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"node": true,
"mocha": true
},
"extends": "google",
"extends": ["eslint:recommended", "google"],
"parserOptions": {
"ecmaVersion": 12
},
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@ on:
branches: [ master ]

jobs:
ci:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm test

- run: npm test
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: '16'
cache: 'npm'

- name: Coverage
run: |
Expand Down

0 comments on commit 6bc668f

Please sign in to comment.