From 92067af6115c3b92cd57889262af70126972b416 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sat, 7 Oct 2023 22:12:39 +0200 Subject: [PATCH] Create node.js.yml --- .github/workflows/node.js.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..559c1dc --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,33 @@ +name: Ember Application Build + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install npm and bower dependencies + run: | + cd www # Replace with the actual repository directory where your Ember app is located + npm install + npx bower install --allow-root + + - name: Build Ember application + run: | + cd www # Replace with the actual repository directory where your Ember app is located + npx ember build + + - name: Display build completion message + run: echo "Ember application build completed successfully."