添加 .gitea/workflows/matrix-node.yaml
Some checks reported warnings
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
Gitea Actions Demo / setup (push) Has been cancelled
Gitea Actions Demo / test (push) Has been cancelled
Gitea Actions Demo / build (push) Has been cancelled
build / build (10.x) (push) Successful in 3m24s
build / build (18.x) (push) Has been cancelled

This commit is contained in:
huanghs 2023-10-25 14:05:00 +08:00
parent 7efb170604
commit 217851f7f7

View File

@ -0,0 +1,23 @@
name: build
on:
push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x,18.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# 安装依赖
- name: install
run: node -v