parent
741feeae12
commit
7c8b71c33f
17
.github/workflows/unitTest.yml
vendored
17
.github/workflows/unitTest.yml
vendored
@ -19,6 +19,14 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Docker tests
|
name: Docker tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: golang
|
||||||
|
env:
|
||||||
|
REPOSITORY: ${{ github.repository }}
|
||||||
|
TRIGGERING_ACTOR: ${{ github.triggering_actor }}
|
||||||
|
SOURCE_BRANCH: ${{ github.ref_name }}
|
||||||
|
COMMIT: ${{ github.workflow_sha }}
|
||||||
|
EVENT: ${{ github.event_name}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -33,14 +41,11 @@ jobs:
|
|||||||
labels: 'Auto: Test Failed'
|
labels: 'Auto: Test Failed'
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v3.8.1
|
run: apt update && apt install -y nodejs npm
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm install --global yarn
|
run: npm install --global yarn
|
||||||
- name: Setup Go environment
|
|
||||||
uses: actions/setup-go@v4.1.0
|
|
||||||
with:
|
|
||||||
go-version: '1.22'
|
|
||||||
check-latest: true
|
|
||||||
- name: FE build
|
- name: FE build
|
||||||
run: make build_fe
|
run: make build_fe
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user