Skip to content

Commit

Permalink
chore: update recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar committed Oct 7, 2021
1 parent 355b1ea commit 7c65c56
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 884 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: [require.resolve('recommended/config/eslint')],
extends: ['@recommended/eslint-config'],
}
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:
Expand All @@ -17,17 +17,17 @@ jobs:
node-version: [12.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: test
run: |
yarn
yarn jest --coverage
- name: report
uses: coverallsapp/github-action@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: test
run: |
yarn
yarn jest --coverage
- name: report
uses: coverallsapp/github-action@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('recommended/config/prettier')
module.exports = require('@recommended/prettier-config')
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest": "^27.1.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"recommended": "^0.0.2",
"recommended": "^0.0.6",
"rollup": "^2.56.3",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.4.3",
Expand Down

0 comments on commit 7c65c56

Please sign in to comment.