diff --git a/.github/workflows/unitTest.yml b/.github/workflows/unitTest.yml index dc7fef67..2c79b83f 100644 --- a/.github/workflows/unitTest.yml +++ b/.github/workflows/unitTest.yml @@ -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