mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
9e4ccb61a6
* Create npm_test.yml * Update npm_test.yml * Update npm_test.yml * Update npm_test.yml 1 * Update npm_test.yml Co-authored-by: fish9167 <674821954@qq.com>
31 lines
482 B
YAML
31 lines
482 B
YAML
name: npm test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
npm_test:
|
|
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
|