Skip to content

Commit 8bb5c49

Browse files
authored
ci: test (#3723)
1 parent 67912a3 commit 8bb5c49

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
- ci/**
7+
8+
jobs:
9+
build:
10+
if: github.repository == 'Tencent/tdesign-miniprogram'
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node: [18, 20, 22]
15+
os: [ubuntu-latest, windows-latest]
16+
17+
runs-on: ${{ matrix.os }}
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ matrix.node }}
25+
26+
- run: npm install
27+
28+
- run: npm run build

0 commit comments

Comments
 (0)