From 08d0280492168406e2317c24ee4a3a52e775b6f8 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sat, 7 Oct 2023 22:16:40 +0200 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 559c1dc..9687ee8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,7 +3,7 @@ name: Ember Application Build on: push: branches: - - master + - main jobs: build: @@ -13,10 +13,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Node.js + - name: Set up Node.js and Ember CLI uses: actions/setup-node@v2 with: node-version: '14' + - run: npm install -g ember-cli@2.18.2 - name: Install npm and bower dependencies run: | @@ -27,7 +28,7 @@ jobs: - name: Build Ember application run: | cd www # Replace with the actual repository directory where your Ember app is located - npx ember build + ember build - name: Display build completion message run: echo "Ember application build completed successfully."