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 98a7e20 commit 8b2d96a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 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
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ on:
jobs:
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 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 8b2d96a

Please sign in to comment.