-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (41 loc) · 1.03 KB
/
frontend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Frontend
on:
push:
branches:
- master
pull_request:
branches:
- "**"
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.5"
cache-dependency-path: 'frontend/package-lock.json'
- run: node --version
- name: npm install
run: npm install
working-directory: frontend
- name: npm ci
run: npm ci
working-directory: frontend
- name: npm run build
run: npm run build
env:
NODE_OPTIONS: "--max_old_space_size=8192"
working-directory: frontend
- name: npm run generate
run: npm run build
working-directory: frontend
frontend-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build for Docker
run: docker build -t mf-importer-fe -f build/fe/Dockerfile .