Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 44 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,57 +19,66 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 18
cache: yarn
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install Dependencies
run: yarn install --frozen-lockfile
- run: pnpm install --frozen-lockfile

- name: Lint
run: yarn lint
run: pnpm lint

- name: Run Tests
run: yarn test:ember
run: pnpm test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 18
cache: yarn
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install Dependencies
run: yarn install --no-lockfile
run: pnpm install --no-lockfile

- name: Run Tests
run: yarn test:ember
run: pnpm test:ember

separate_build:
name: "Tests with separate build"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 18
cache: yarn
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run Tests
run: yarn test:separate-build
run: pnpm test:separate-build

try-scenarios:
name: ${{ matrix.try-scenario }}
Expand All @@ -95,15 +104,18 @@ jobs:
- embroider-optimized

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 18
cache: yarn
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
Expand All @@ -115,15 +127,18 @@ jobs:
needs: [ test, try-scenarios ]

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 18
cache: yarn
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Ember Deploy
run: node_modules/.bin/ember deploy production
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
- run: npm ci
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: npm install -g npm@latest # ensure that the globally installed npm is new enough to support OIDC
- name: Publish to NPM
run: npx release-plan publish --provenance
run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
30 changes: 0 additions & 30 deletions .release-plan.json

This file was deleted.

82 changes: 0 additions & 82 deletions .travis.yml

This file was deleted.

25 changes: 0 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
# Changelog

## Release (2025-12-03)

* ember-cli-fastboot-testing 0.7.0 (major)

#### :boom: Breaking Change
* `ember-cli-fastboot-testing`
* [#874](https://github.com/embermap/ember-cli-fastboot-testing/pull/874) Drop support for Node.js v16 and below ([@SergeAstapov](https://github.com/SergeAstapov))

#### :rocket: Enhancement
* `ember-cli-fastboot-testing`
* [#875](https://github.com/embermap/ember-cli-fastboot-testing/pull/875) Sync with latest addon blueprint via ember-cli-update; widen ember-source in peer deps ([@SergeAstapov](https://github.com/SergeAstapov))

#### :bug: Bug Fix
* `ember-cli-fastboot-testing`
* [#923](https://github.com/embermap/ember-cli-fastboot-testing/pull/923) Avoid eagerly importing nock outside of testing ([@sergey-panov](https://github.com/sergey-panov))

#### :house: Internal
* `ember-cli-fastboot-testing`
* [#924](https://github.com/embermap/ember-cli-fastboot-testing/pull/924) Setup release-plan ([@SergeAstapov](https://github.com/SergeAstapov))
* [#876](https://github.com/embermap/ember-cli-fastboot-testing/pull/876) Drop fastboot@1 and fastboot@2 from testing matrix ([@SergeAstapov](https://github.com/SergeAstapov))

#### Committers: 2
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
- Sergey Panov ([@sergey-panov](https://github.com/sergey-panov))
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-fastboot-testing",
"version": "0.7.0",
"version": "0.6.2",
"description": "Test your FastBoot-rendered HTML alongside your application's tests.",
"keywords": [
"ember-addon"
Expand Down Expand Up @@ -30,7 +30,7 @@
"test:separate-build": "yarn build --environment test && yarn test:ember --path=dist --filter 'Fastboot | basic'"
},
"dependencies": {
"body-parser": "^1.20.3",
"body-parser": "^1.20.3 || ^2.2.1",
"ember-auto-import": "^2.8.1",
"ember-cli-babel": "^8.2.0",
"fastboot": "^3.0.3 || ^4.1.5",
Expand Down Expand Up @@ -109,7 +109,8 @@
},
"volta": {
"node": "18.20.4",
"yarn": "1.22.22"
"yarn": "1.22.22",
"pnpm": "10.24.0"
},
"ember": {
"edition": "octane"
Expand Down
Loading
Loading