Compare commits
No commits in common. "7326889f3247577856b0afd8813b01f71ff156ed" and "a795108859a0c1018f99180d0f5dd8468d5503d1" have entirely different histories.
7326889f32
...
a795108859
@ -1,19 +1,19 @@
|
|||||||
name: deploy to production
|
name: deploy to production
|
||||||
run-name: ${{ gitea.actor }} has pushed to production
|
run-name: ${{ gitea.actor }} has pushed to production
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-frontend:
|
deploy-frontend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: fetching the repo
|
||||||
- uses: actions/node-setup
|
uses: actions/checkout@v4
|
||||||
|
- name: installing npm dependencies
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
run: npm install
|
||||||
- name: building
|
- name: building
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
name: Build and test FrontEnd
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
working-directory: ./frontend
|
|
||||||
- run: npm ci
|
|
||||||
name: clean install
|
|
||||||
working-directory: ./frontend
|
|
||||||
- run: npm run build --if-present
|
|
||||||
name: build
|
|
||||||
working-directory: ./frontend
|
|
||||||
Test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
working-directory: ./frontend
|
|
||||||
- run: npm ci
|
|
||||||
name: clean install
|
|
||||||
working-directory: ./frontend
|
|
||||||
- run: npm run test:unit
|
|
||||||
name: test
|
|
||||||
working-directory: ./frontend
|
|
2643
frontend/package-lock.json
generated
2643
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user