From c83d4d945a29785fa46648b9a69859df0ce0ace7 Mon Sep 17 00:00:00 2001 From: Albert Date: Tue, 7 May 2024 13:43:18 +1000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c512a73..c64d239 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,4 @@ +name: Build the frontend project on: push: @@ -8,11 +9,16 @@ on: jobs: buildWebsite: name: deploy to staging - runs-on: node + runs-on: ubuntu-latest steps: + - name: Setup Node.js environment + uses: actions/setup-node@v4.0.2 + with: + node-version: '20.x' + + - uses: actions/checkout@v4 + - name: Install Dependencies run: npm install - - name: Build app - run: npm run build-prod