Skip to content

Commit 9373b35

Browse files
committed
fix: update prod build to remove the test
and add workflow description
1 parent 7f8b5e0 commit 9373b35

2 files changed

Lines changed: 12 additions & 56 deletions

File tree

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2+
# This worklflow will perform following actions when a release is published:
3+
# - Fetch Latest release.
4+
# - Build the latest docker image in production.
5+
# - Build release and commit to repo
6+
# - Push the docker image to Github Artifact Registry-Prod.
7+
# - Rollout latest docker image to GKE.
8+
#
9+
# Maintainers:
10+
# - name: Nisha Sharma
11+
# - email: nisha.sharma@uni-jena.de
12+
113
name : Build and Deploy to Prod
214

315
on:
@@ -13,45 +25,6 @@ env:
1325
IMAGE: nmrium
1426

1527
jobs:
16-
e2etest:
17-
runs-on: ubuntu-latest
18-
strategy:
19-
matrix:
20-
project: [chromium, firefox, webkit]
21-
fail-fast: false
22-
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/setup-node@v3
25-
with:
26-
node-version: 16.x
27-
- name: Install dependencies
28-
run: npm ci
29-
- name: Install Playwright
30-
run: npx playwright install --with-deps
31-
- name: Build test application
32-
env:
33-
NODE_OPTIONS: '--max_old_space_size=4096'
34-
run: npm run build-no-minify
35-
- name: Run E2E tests on ${{ matrix.project }}
36-
run: npx playwright test --project ${{ matrix.project }}
37-
continue-on-error: ${{ matrix.project == 'webkit' }}
38-
39-
lint:
40-
runs-on: ubuntu-latest
41-
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-node@v2
44-
with:
45-
node-version: 16.x
46-
- name: Install dependencies
47-
run: npm ci
48-
- name: Run ESLint
49-
run: npm run eslint
50-
- name: Run Prettier
51-
run: npm run prettier
52-
- name: Check types
53-
run: npm run check-types
54-
5528
setup-build-publish-deploy-prod:
5629
name: Deploy to prod
5730
if: github.ref == 'refs/heads/prod-helm-deploy'

.github/workflows/release-please.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)