Skip to content

Commit 73982ce

Browse files
Add build workflow
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 265f43b commit 73982ce

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: build app
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
Get-CI-Image-Tag:
8+
uses: ./.github/workflows/get-ci-image-tag.yml
9+
10+
python-tests:
11+
strategy:
12+
matrix:
13+
node-version:
14+
- 18
15+
- 20
16+
runs-on: ubuntu-latest
17+
env:
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up node-${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: Install dependencies and build the code
25+
run: |
26+
npm install
27+
npm run build

0 commit comments

Comments
 (0)