From 1c4901a46d0a5ba2a037978d14a8be5d0eea72b0 Mon Sep 17 00:00:00 2001 From: Yashash Date: Sun, 15 May 2022 10:02:49 +0530 Subject: [PATCH] fix builds failing locally --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - .github/ISSUE_TEMPLATE/feature_request.md | 7 +++---- .github/dependabot.yml | 2 +- .github/workflows/Build-Deploy.yml | 2 +- .github/workflows/PR-Preview.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/desktop.yml | 2 +- .github/workflows/dev.yml | 2 +- .github/workflows/docker-dev.yml | 2 +- package.json | 2 +- 10 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0c5bb81f0..2d3f6359f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -40,4 +40,3 @@ body: - Other Browser validations: required: true - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d6..2bc5d5f71 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - +title: "" +labels: "" +assignees: "" --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e8fb1b099..a0be9ef4f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,7 @@ updates: - package-ecosystem: npm directory: / registries: - - npm-github + - npm-github schedule: interval: daily diff --git a/.github/workflows/Build-Deploy.yml b/.github/workflows/Build-Deploy.yml index 89d932ab2..bb7bdaead 100644 --- a/.github/workflows/Build-Deploy.yml +++ b/.github/workflows/Build-Deploy.yml @@ -41,7 +41,7 @@ jobs: api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - name: Build project - run: npm run build + run: CI=false npm run build - name: Deploy to gh-pages uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/PR-Preview.yml b/.github/workflows/PR-Preview.yml index 625b368ae..b9ebaff23 100644 --- a/.github/workflows/PR-Preview.yml +++ b/.github/workflows/PR-Preview.yml @@ -33,7 +33,7 @@ jobs: api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - name: Build project - run: npm run build + run: CI=false npm run build - if: ${{ github.event.action == 'opened'}} run: gh repo create win11bot/${{ github.event.pull_request.number }} --public diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7080acf66..4b857b88c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -70,7 +70,7 @@ jobs: # If the Autobuild fails above, remove it and uncomment the following three lines. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - run: npm ci && npm run build + - run: npm ci && CI=false npm run build - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml index 9a298bd70..078573072 100644 --- a/.github/workflows/desktop.yml +++ b/.github/workflows/desktop.yml @@ -45,7 +45,7 @@ jobs: api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - name: install app dependencies and build it - run: npm run build + run: CI=false npm run build - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.BOT }} diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 2b1446b8a..419d12090 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -22,7 +22,7 @@ jobs: node-version: 16 - name: Build - run: npm ci && REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json npm run build + run: npm ci && REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json CI=false npm run build - name: Deploy to gh-pages uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml index fe7c1866a..9ebbdf42f 100644 --- a/.github/workflows/docker-dev.yml +++ b/.github/workflows/docker-dev.yml @@ -26,7 +26,7 @@ jobs: node-version: 16 - name: Install dependencies & Build - run: npm ci && REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json npm run build + run: npm ci && REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json CI=false npm run build - name: Set up QEMU uses: docker/setup-qemu-action@v1 diff --git a/package.json b/package.json index e23aa5907..fe5811c13 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "CI=false react-scripts build", + "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "tauri": "tauri",