添加 .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
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:
parent
7efb170604
commit
217851f7f7
23
.gitea/workflows/matrix-node.yaml
Normal file
23
.gitea/workflows/matrix-node.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user