Skip to content

Commit

Permalink
fix!: minimum ember version 4.12
Browse files Browse the repository at this point in the history
add test the build
  • Loading branch information
Yelinz committed Sep 13, 2024
1 parent 1007b87 commit 7bc2b70
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
NODE_VERSION: 20

jobs:
test:
name: "Tests"
Expand All @@ -21,11 +24,13 @@ jobs:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
node-version: ${{ env.NODE_VERSION }}
- name: Lint
run: pnpm lint
- name: Run Tests
run: pnpm ember try:each --skip-cleanup
- name: Build
run: pnpm build

floating:
name: "Floating Dependencies"
Expand All @@ -51,9 +56,9 @@ jobs:
fail-fast: false
matrix:
try-scenario:
- ember-lts-4.8
- ember-lts-4.4
- ember-lts-4.12
- ember-lts-5.4
- ember-lts-5.8
- ember-release
- ember-beta
- ember-canary
Expand All @@ -64,7 +69,7 @@ jobs:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
node-version: ${{ env.NODE_VERSION }}
- name: Run Tests
run: ./node_modules/.bin/ember try:each --skip-cleanup
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
node-version: 20

- name: Deploy to Github Pages
run: pnpm ember deploy production
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

{{content-for "head"}}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/dummy.css">

Expand Down

0 comments on commit 7bc2b70

Please sign in to comment.