Skip to content

Commit 1a3633f

Browse files
committed
build
1 parent 9f8d77b commit 1a3633f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
test:
9+
name: Test
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [20]
14+
fail-fast: true
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: yarn install --immutable
21+
- run: yarn run build
22+
- run: yarn run check
23+
pack:
24+
name: Pack
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: actions/setup-node@v3
29+
- run: yarn install --immutable
30+
- run: yarn run pack

0 commit comments

Comments
 (0)