From d220169ea94c9297725af9f7882ebc83e1394a37 Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Fri, 1 Mar 2024 23:54:56 +0100 Subject: [PATCH] gh actions --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ app.json | 15 +++++++++++---- 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ff0f376 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: "21" + + - name: Install dependencies + run: npm install + + - name: Run Linter + run: npm run lint diff --git a/app.json b/app.json index 82005bb..d9418ee 100644 --- a/app.json +++ b/app.json @@ -7,7 +7,9 @@ "orientation": "default", "icon": "./assets/icon-dark.png", "userInterfaceStyle": "automatic", - "assetBundlePatterns": ["**/*"], + "assetBundlePatterns": [ + "**/*" + ], "ios": { "splash": { "image": "./assets/splash-light.png", @@ -26,12 +28,15 @@ "NSAppTransportSecurity": { "NSAllowsArbitraryLoads": true }, - "NSBonjourServices": ["_http._tcp.", "_https._tcp."] + "NSBonjourServices": [ + "_http._tcp.", + "_https._tcp." + ] }, "config": { "usesNonExemptEncryption": false }, - "buildNumber": "3" + "buildNumber": "4" }, "android": { "permissions": [ @@ -45,7 +50,9 @@ "favicon": "./assets/favicon.png", "build": { "babel": { - "include": ["@ui-kitten/components"] + "include": [ + "@ui-kitten/components" + ] } } },