mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 06:18:58 +01:00
chore: add flow definitions to repo
This commit is contained in:
parent
98ffd67d23
commit
04bb148524
@ -19,22 +19,6 @@ jobs:
|
||||
- node_modules
|
||||
key: dependencies-{{ checksum "yarn.lock" }}
|
||||
|
||||
flow-typed:
|
||||
<<: *defaults
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- dependencies-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- flow-typed-{{ checksum "yarn.lock" }}
|
||||
- run: yarn flow-typed
|
||||
- save_cache:
|
||||
paths:
|
||||
- flow-typed
|
||||
key: flow-typed-{{ checksum "yarn.lock" }}
|
||||
|
||||
lint:
|
||||
<<: *defaults
|
||||
steps:
|
||||
@ -42,9 +26,6 @@ jobs:
|
||||
- restore_cache:
|
||||
keys:
|
||||
- dependencies-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- flow-typed-{{ checksum "yarn.lock" }}
|
||||
- run: yarn lint
|
||||
|
||||
test:
|
||||
@ -87,12 +68,8 @@ workflows:
|
||||
test:
|
||||
jobs:
|
||||
- install
|
||||
- flow-typed:
|
||||
requires:
|
||||
- install
|
||||
- lint:
|
||||
requires:
|
||||
- flow-typed
|
||||
- install
|
||||
- test:
|
||||
requires:
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
node_modules/
|
||||
flow-typed/
|
||||
.cache/
|
||||
public/
|
||||
npm-debug.log
|
||||
|
@ -5,7 +5,6 @@ install:
|
||||
- npm install -g codecov
|
||||
script:
|
||||
- yarn install
|
||||
- yarn flow-typed
|
||||
- yarn lint
|
||||
- yarn test:coverage --runInBand --no-cache
|
||||
- yarn test --runInBand --no-cache
|
||||
@ -13,4 +12,3 @@ script:
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
- flow-typed
|
1196
flow-typed/npm/jest_v24.x.x.js
vendored
Normal file
1196
flow-typed/npm/jest_v24.x.x.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,6 @@
|
||||
"deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public",
|
||||
"clean": "rimraf .cache public",
|
||||
"flow": "flow",
|
||||
"flow-typed": "flow-typed install",
|
||||
"lint:js": "eslint --cache --ext .js,.jsx .",
|
||||
"lint:scss": "stylelint \"src/**/*.scss\"",
|
||||
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"",
|
||||
|
Loading…
Reference in New Issue
Block a user