Files
cocos4/.github/workflows/web-npm_test.yml
T
fish9167 2210fad6b1 Chnage concurrency group (#11815)
Co-authored-by: jianping.yu <jianping.yu@cocos.com>
2022-07-01 19:19:10 +08:00

37 lines
808 B
YAML

name: <Web> npm test
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:
npm_test:
if:
(! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration'))
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.13'
- name: install gulp
run: |
npm install -g gulp
- name: npm install
run: |
npm install
- name: build-debug-infos
run: |
gulp build-debug-infos
- name: run test
run: |
npm test