Skip to content

Commit f83d1cd

Browse files
authored
Merge pull request #6 from bringg/MOBILE-4909-add-lint-check-to-ci
MOBILE-4909 added lint check to ci
2 parents 504841d + e41024a commit f83d1cd

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ pipeline {
55
agent any
66

77
stages {
8-
stage('Build') {
8+
stage('Build and check lint') {
99
steps {
1010
script {
1111
// package.json should not have private dependencies
1212
// we should be able to install dependencies without credentials
1313
docker.image('bringg/node:12-alpine').inside() {
1414
sh "npm install"
15+
sh "npm run prettier-check"
1516
}
1617
}
1718
}

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ PODS:
256256
- React-cxxreact (= 0.61.5)
257257
- React-jsi (= 0.61.5)
258258
- React-jsinspector (0.61.5)
259-
- react-native-bringg-driver-sdk (1.9.0):
259+
- react-native-bringg-driver-sdk (1.9.2):
260260
- BringgDriverSDK (= 1.9.0)
261261
- BringgDriverSDKObjc (= 1.9.0)
262262
- React
@@ -469,7 +469,7 @@ SPEC CHECKSUMS:
469469
React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
470470
React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
471471
React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
472-
react-native-bringg-driver-sdk: 2c571a032ff9c1e9b850353eba99094125269ea1
472+
react-native-bringg-driver-sdk: de761478eaf1c79b3895d01be7f2194b15a19dbb
473473
React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
474474
React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
475475
React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bringg/react-native-bringg-driver-sdk",
3-
"version": "1.9.1",
3+
"version": "1.9.2",
44
"description": "A React Native wrapper for the native (iOS and Android) Bringg driver SDKs (currently supporting the active customer use case)",
55
"main": "lib/commonjs/index.js",
66
"module": "lib/module/index.js",
@@ -16,7 +16,8 @@
1616
"react-native-bringg-driver-sdk.podspec"
1717
],
1818
"scripts": {
19-
"prepare": "bob build"
19+
"prepare": "bob build",
20+
"prettier-check": "prettier -l src"
2021
},
2122
"keywords": [
2223
"react-native",

0 commit comments

Comments
 (0)