Files
cocos4/.github/workflows/web-npm_test.yml
T
PP e6636e5990 upgrade: node version 14 on CI (#13106)
* fix node version on web-build ci

* fix: node version on Interface Check worker flow

* fix: npm version on npm test workflow
2022-10-20 14:42:20 +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: '14.19'
- 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