Skip to content

Commit

Permalink
[Optimize] Simplify workflow (#16503)
Browse files Browse the repository at this point in the history
* [Optimize] Simplify workflow
  • Loading branch information
VisualSJ authored Nov 13, 2023
1 parent 60088d4 commit c41807c
Show file tree
Hide file tree
Showing 35 changed files with 1,635 additions and 6,492 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ root: true
parser: '@typescript-eslint/parser'

parserOptions:
project: ./tsconfig.json
project:
- ./tsconfig.json

extends:
- eslint:recommended
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automation_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
uses: OperationsYU/auto-assignment@v1
with:
token: ${{ secrets.LABEl_TOKEN }}
users: '["holycanvas"]'
users: '["minggo"]'
4 changes: 2 additions & 2 deletions .github/workflows/native-simulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
vulkan-use-cache: true
- name: gen simulator
run: |
gulp gen-simulator
npx gulp gen-simulator
- name: check result
run: |
Get-ChildItem ./simulator/Release -Name SimulatorApp-Win32.exe
Expand All @@ -66,7 +66,7 @@ jobs:
- name: gen simulator
run: |
gulp gen-simulator-release
npx gulp gen-simulator-release
- name: check result
run: |
find ./ -name SimulatorApp-Mac
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native-ts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npx gulp build-debug-infos
- run: npm run build:debug-infos
- name: Download external
run: |
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos/cocos-engine-external native/external
- run: npm install -g gulp
- run: npm ci
- run: echo "::add-matcher::.github/workflows/build-problem-matcher.json"
- run: gulp build-h5-source
- run: npm run build:dev
#- run: echo "::remove-matcher owner=circular-reference-check::"
4 changes: 2 additions & 2 deletions .github/workflows/web-check_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
run: |
branch=`echo ${{ github.base_ref }} | awk -F'/' '{print $NF}'`
echo "Branch: ${branch}"
npm run verify-engine-version -- ${branch}
npm run verify:engine-version -- ${branch}
- name: check version create
if: github.event_name == 'create'
run: |
branch=`echo ${{ github.ref }} | awk -F'/' '{print $NF}'`
echo "Branch: ${branch}"
npm run verify-engine-version -- ${branch}
npm run verify:engine-version -- ${branch}
6 changes: 1 addition & 5 deletions .github/workflows/web-npm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '18.x'

- name: install gulp
run: |
npm install -g gulp

- name: Download external
run: |
Expand All @@ -34,7 +30,7 @@ jobs:
- name: build-debug-infos
run: |
gulp build-debug-infos
npm run build:debug-infos
- name: run test
run: |
Expand Down
29 changes: 0 additions & 29 deletions gulp/tasks/buildDebugInfos.js

This file was deleted.

137 changes: 0 additions & 137 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit c41807c

Please sign in to comment.