From 217851f7f774bd0c2c517529a1c3a062204e52b2 Mon Sep 17 00:00:00 2001 From: huanghs Date: Wed, 25 Oct 2023 14:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/matrix-no?= =?UTF-8?q?de.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/matrix-node.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/matrix-node.yaml diff --git a/.gitea/workflows/matrix-node.yaml b/.gitea/workflows/matrix-node.yaml new file mode 100644 index 0000000..84e603c --- /dev/null +++ b/.gitea/workflows/matrix-node.yaml @@ -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 \ No newline at end of file