mirror of
https://github.com/blueedgetechno/win11React.git
synced 2026-01-09 14:07:57 -05:00
removed need for ci=false & PUBLIC_URL
This commit is contained in:
@@ -2,8 +2,7 @@ name: Build & Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -42,7 +41,7 @@ jobs:
|
||||
api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
- name: Build project
|
||||
run: CI=false npm run build
|
||||
run: npm run build
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
2
.github/workflows/PR-Preview.yml
vendored
2
.github/workflows/PR-Preview.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
- name: Build project
|
||||
run: CI=false PUBLIC_URL=https://pr-preview.win11react.com/${{ github.event.pull_request.number }} npm run build
|
||||
run: npm run build
|
||||
|
||||
- if: ${{ github.event.action == 'opened'}}
|
||||
run: gh repo create win11bot/${{ github.event.pull_request.number }} --public
|
||||
|
||||
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -70,9 +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: |
|
||||
ci=false npm ci
|
||||
ci=false npm run build
|
||||
- run: npm ci && npm run build
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
||||
4
.github/workflows/dev.yml
vendored
4
.github/workflows/dev.yml
vendored
@@ -22,9 +22,7 @@ jobs:
|
||||
node-version: 16
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm ci
|
||||
CI=false 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 npm run build
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
7
.github/workflows/docker-dev.yml
vendored
7
.github/workflows/docker-dev.yml
vendored
@@ -25,11 +25,8 @@ jobs:
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install NPM packages
|
||||
run: npm ci
|
||||
|
||||
- name: Build project
|
||||
run: CI=false REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json npm run build
|
||||
- name: Install dependencies & Build
|
||||
run: npm ci && REACT_APP_STOREURL=https://win11react.github.io/experimental/dev-store.json npm run build
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"build": "CI=false react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"tauri": "tauri",
|
||||
|
||||
Reference in New Issue
Block a user