mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
0b353b6e14
* support pal/wasm module pal/wasm * support sys.Feature.WASM and WASM_SUPPORT_MODE # Conflicts: # pal/system-info/web/system-info.ts # Conflicts: # pal/system-info/web/system-info.ts # Conflicts: # pal/system-info/web/system-info.ts * optimize bullet module * update physx module update * revert tsconfig * optimize WebGPU wasm import * fix native wasm instantiate * support wasm in EDITOR and PREVIEW * optimize variable name * update comment * optimize code * Update cocos/misc/webassembly-support.ts * add physx wasm (#11) by yiwenxue * add physx wasm * update physx wasm instantiate. * update, rename, etc. * download external in CI * fix physX wasm init * move out external wasm type * update external-config.json * expand node max-old-space-size * use console.debug --------- Co-authored-by: Yiwen <15225434259xue@gmail.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: <Web> Quality
|
|
|
|
on: [push, pull_request]
|
|
|
|
# github.head_ref is only defined on pull_request events
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
eslint:
|
|
name: Run ESLint
|
|
#if: github.actor!= 'dependabot' # ignore the pull request which comes from user dependabot. See https://github.community/t/how-to-stop-github-actions-workflow-to-trigger-when-the-pull-request-is-from-dependabot-preview/116486/3
|
|
if:
|
|
(! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration'))
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
|
|
- name: Download external
|
|
run: |
|
|
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 ci
|
|
|
|
- name: Run ESLint
|
|
shell: pwsh
|
|
run: ./.github/workflows/eslint.ps1
|