mirror of
https://github.com/galacean/engine.git
synced 2026-06-22 05:32:47 +08:00
25 lines
530 B
YAML
25 lines
530 B
YAML
name: Node.js CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: macos-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [15.x]
|
|
|
|
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
|
|
- run: npm run ci
|
|
- run: npm install codecov
|
|
- name: Upload coverage to Codecov
|
|
run: ./node_modules/.bin/codecov
|
|
- run: curl -s https://codecov.io/bash |