Skip to content

Commit

Permalink
ci: add ember e2e test (#16998)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored Dec 5, 2024
1 parent 5080cc7 commit 2d549a5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- prettier
- angular-cli
- nextjs-10
- ember
steps:
- name: Get yarn1 cache directory path
id: yarn1-cache-dir-path
Expand Down
33 changes: 33 additions & 0 deletions scripts/integration-tests/e2e-ember.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash

#==============================================================================#
# SETUP #
#==============================================================================#

# Start in scripts/integration-tests/ even if run from root directory
cd "$(dirname "$0")" || exit
root="$PWD"

source utils/local-registry.sh
source utils/cleanup.sh

# Echo every command being executed
set -x

startLocalRegistry "$root"/verdaccio-config.yml

# Create example app
# ember-cli will run npm install in the ember-quickstart folder
cd /tmp
npx ember-cli new ember-quickstart --lang en
cd /tmp/ember-quickstart

#==============================================================================#
# TEST #
#==============================================================================#

# Test

npm run build

cleanup

0 comments on commit 2d549a5

Please sign in to comment.