huanghs
60a2db5404
Some checks reported warnings
Gitea Actions Demo / setup (push) Has been cancelled
Gitea Actions Demo / test (push) Has been cancelled
Gitea Actions Demo / build (push) Has been cancelled
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
build / build (10.x) (push) Successful in 5s
build / build (16.x) (push) Successful in 5s
build / build (18.x) (push) Successful in 5s
24 lines
375 B
YAML
24 lines
375 B
YAML
name: build
|
|
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [10.x,16.x,18.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
|
|
# 安装依赖
|
|
- name: Node Version
|
|
run: node -v
|