egg/.github/workflows/nodejs.yml
fengmk2 c91ffe0765
test: make plugins/development test stable (#5211)
For Nodejs 20, we should use "await" to wait each of these threads finishing their task and then for a coming result.
2023-06-15 18:00:57 +08:00

18 lines
367 B
YAML

name: CI
on:
push:
branches: [ master, 2.x, 1.x ]
pull_request:
branches: [ master, 2.x, 1.x ]
jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, macos-latest, windows-latest'
version: '14, 16, 18, 20'
install: 'npm i -g npminstall && npminstall'