You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
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 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: | |
|
cd www # Replace with the actual repository directory where your Ember app is located |
|
npm install |
|
npx bower install --allow-root |
|
|
|
- name: Install ESLint and create configuration |
|
run: | |
|
cd www # Replace with the actual repository directory where your Ember app is located |
|
npm install eslint --save-dev |
|
npx eslint --init |
|
|
|
- name: Install ember-truth-helpers and jdenticon |
|
run: | |
|
cd www # Replace with the actual repository directory where your Ember app is located |
|
npm install ember-truth-helpers |
|
npm install jdenticon@2.1.0 |
|
|
|
- name: Build Ember application |
|
run: | |
|
cd www # Replace with the actual repository directory where your Ember app is located |
|
ember build |
|
|
|
- name: Display build completion message |
|
run: echo "Ember application build completed successfully."
|
|
|