Skip to content

Commit df92e64

Browse files
authored
Merge pull request #43 from massalabs/add-ci-build
Add GitHub Actions workflow for front-end build process
2 parents c76f108 + f82609f commit df92e64

File tree

2 files changed

+1727
-294
lines changed

2 files changed

+1727
-294
lines changed

.github/workflows/front-build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [main, buildnet]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: "18"
16+
cache: "npm"
17+
cache-dependency-path: frontend/package-lock.json
18+
19+
- name: Install
20+
run: npm ci
21+
working-directory: frontend
22+
23+
- name: Build
24+
run: npm run build
25+
working-directory: frontend

0 commit comments

Comments
 (0)