Skip to content

Commit

Permalink
fix builds failing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
yashash-pugalia committed May 15, 2022
1 parent a426e80 commit 1c4901a
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ body:
- Other Browser
validations:
required: true

7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.**
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ updates:
- package-ecosystem: npm
directory: /
registries:
- npm-github
- npm-github
schedule:
interval: daily

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR-Preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1c4901a

Please sign in to comment.