Update unitTest.yml (#115)

* Update unitTest.yml

* Update unitTest.yml
This commit is contained in:
Jinnrry 2024-04-30 14:39:08 +08:00 committed by GitHub
parent 741feeae12
commit 7c8b71c33f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,14 @@ jobs:
test:
name: Docker tests
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:
- name: Checkout
uses: actions/checkout@v4
@ -33,14 +41,11 @@ jobs:
labels: 'Auto: Test Failed'
- name: Setup Node.js environment
uses: actions/setup-node@v3.8.1
run: apt update && apt install -y nodejs npm
- name: Install Dependencies
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
run: make build_fe