Skip to content

Commit b2098a3

Browse files
committed
chore: bump (dev)Dependencies, test GitHub Actions
1 parent 68f45cd commit b2098a3

File tree

4 files changed

+304
-669
lines changed

4 files changed

+304
-669
lines changed

.github/workflows/nodejs.yml

+3-27
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ jobs:
66
default:
77
strategy:
88
matrix:
9-
node: [12]
10-
os: [macOS-latest, ubuntu-latest]
9+
node: [10, 12]
10+
os: [macOS-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- uses: actions/checkout@v1
@@ -22,35 +22,11 @@ jobs:
2222
run: yarn --frozen-lockfile
2323

2424
- name: Build, Lint and Test
25-
run: |
26-
yarn build
27-
yarn lint
28-
yarn test
25+
run: yarn run-s build lint test type-coverage
2926
env:
3027
EFF_NO_LINK_RULES: 'true'
3128
PARSER_NO_WATCH: 'true'
3229

33-
- name: Codecov
34-
if: matrix.os == 'macOS-latest'
35-
run: |
36-
yarn global add codecov codacy-coverage
37-
codecov
38-
cat ./coverage/lcov.info | codacy-coverage --username JounQin --projectName babel-preset-proposal-typescript
39-
env:
40-
CI: 'true'
41-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
42-
CODACY_ACCOUNT_TOKEN: ${{ secrets.CODACY_ACCOUNT_TOKEN }}
43-
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
44-
45-
- name: Code Checks
46-
if: matrix.os == 'macOS-latest'
47-
run: |
48-
yarn global add @codechecks/client @codechecks/build-size-watcher
49-
codechecks
50-
env:
51-
CI: 'true'
52-
CC_SECRET: ${{ secrets.CC_SECRET }}
53-
5430
- name: Publish GitHub Release and npm Package
5531
if: matrix.os == 'macOS-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master'
5632
run: bash scripts/deploy.sh

codechecks.yml

-10
This file was deleted.

package.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"build:r": "r",
2929
"build:ts": "tsc -b",
3030
"lint": "run-p lint:*",
31-
"lint:es": "cross-env PARSER_NO_WATCH=true eslint src --ext md,js,ts -f friendly",
31+
"lint:es": "cross-env PARSER_NO_WATCH=true eslint src --cache --ext md,js,ts -f friendly",
3232
"lint:tsc": "tsc --noEmit",
3333
"pretest": "r",
34-
"test": "cross-env PARSER_NO_WATCH=true eslint tests/**/*.{ts,tsx} -f friendly",
34+
"test": "cross-env PARSER_NO_WATCH=true eslint tests/**/*.{ts,tsx} --cache -f friendly",
3535
"type-coverage": "type-coverage --cache --detail --ignore-catch --strict"
3636
},
3737
"peerDependencies": {
@@ -47,7 +47,6 @@
4747
},
4848
"devDependencies": {
4949
"@1stg/lib-config": "^0.1.13",
50-
"@pkgr/rollup": "^0.8.2",
5150
"@types/debug": "^4.1.5",
5251
"@types/is-glob": "^4.0.1",
5352
"@types/node": "^12.12.7",
@@ -62,9 +61,7 @@
6261
},
6362
"resolutions": {
6463
"@babel/core": "^7.7.2",
65-
"eslint-import-resolver-typescript": "link:.",
66-
"prettier": "^1.19.1",
67-
"rollup": "~1.25.2"
64+
"eslint-import-resolver-typescript": "link:."
6865
},
6966
"typeCoverage": {
7067
"atLeast": 100

0 commit comments

Comments
 (0)