Skip to content

Commit c103fd7

Browse files
committed
Update components to the latest version.
1 parent efd24f8 commit c103fd7

40 files changed

+12542
-16219
lines changed

.eslintrc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
"node": true,
55
"browser": true
66
},
7-
"parser": "babel-eslint",
7+
"parser": "@babel/eslint-parser",
88
"extends": "eslint:recommended",
99
"parserOptions": {
10+
"requireConfigFile": false,
11+
"babelOptions": {
12+
"presets": ["@babel/preset-react"],
13+
"plugins": [
14+
[ "@babel/plugin-proposal-decorators", { "legacy": true } ]
15+
]
16+
},
1017
"ecmaFeatures": {
1118
"experimentalObjectRestSpread": true,
1219
"jsx": true

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Use Node.js
16-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v2
1717
with:
18-
node-version: '10.14'
18+
node-version: '12'
1919
- name: Cache Node.js modules
2020
uses: actions/cache@v2
2121
with:
2222
path: ~/.npm
23-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23+
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
2424
restore-keys: |
2525
${{ runner.os }}-node-
26-
- run: npm ci
26+
- run: yarn install
2727
- run: ./scripts/before_script.sh
2828
env:
2929
CI: true

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
runs-on: ubuntu-18.04
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v1
10+
- uses: actions/setup-node@v2
1111
with:
12-
node-version: 12
12+
node-version: '12'
1313
registry-url: https://registry.npmjs.org/
1414
- name: Cache Node.js modules
1515
uses: actions/cache@v2
1616
with:
1717
path: ~/.npm
18-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
1919
restore-keys: |
2020
${{ runner.os }}-node-
21-
- run: npm ci
22-
- run: npm publish
21+
- run: yarn install
22+
- run: yarn publish
2323
env:
2424
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)