From da6001db322f0a49d25814ae86a40c3877735013 Mon Sep 17 00:00:00 2001 From: Ryan Chia Date: Mon, 4 Nov 2024 02:06:20 +0800 Subject: [PATCH] fix test.yml --- .github/workflows/test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d60f288d27..18b5fad0df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,15 +54,21 @@ jobs: go test ./... frontend-unit-tests: - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '22' + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 - name: Setup .env run: | cd ./apps/frontend cp .env.example .env + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '22' - name: Install pnpm run: npm i -g pnpm