mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
549108d018
* update require * support bundle-adapter workflow update * update adapter require * add timer * update * update lock update lock * remove node version for npm test CI * with node version 16.15 * install jsdom * use 16.15
29 lines
905 B
YAML
29 lines
905 B
YAML
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
|
|
name: <Web> build
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.15]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm install -g gulp
|
|
- run: npm ci
|
|
- run: echo "::add-matcher::.github/workflows/build-problem-matcher.json"
|
|
- run: gulp build-h5-source
|
|
#- run: echo "::remove-matcher owner=circular-reference-check::"
|