mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
jsb classes apply decorator from .ts source files (#14403)
* decorator parser * remove used variable
This commit is contained in:
@@ -14,6 +14,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Generate decorators
|
||||
run: |
|
||||
npm install
|
||||
cd scripts/build-engine
|
||||
npm install
|
||||
npm install @babel/types @babel/traverse @babel/generator
|
||||
npm run build
|
||||
cd ../..
|
||||
node .github/workflows/gen_decorators.js
|
||||
cd scripts/build-engine
|
||||
git checkout HEAD . # revert all changes within build-engine/
|
||||
|
||||
- name: Download external libraries
|
||||
run: |
|
||||
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
|
||||
|
||||
Reference in New Issue
Block a user