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
54 changes: 22 additions & 32 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- uses: actions/cache@v3
id: npm-cache
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
path: '**/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm run lint
- run: npm run test:ember
node-version: 24
cache: pnpm
- run: pnpm install
- run: pnpm run lint
- run: pnpm run test:ember
working-directory: ./test-app/

floating-dependencies:
Expand All @@ -46,12 +41,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 16.x
- run: npm install --no-shrinkwrap
- run: npm test
node-version: 24
cache: pnpm
- run: pnpm install --no-lockfile
- run: pnpm test
working-directory: ./test-app/

try-scenarios:
Expand All @@ -76,22 +73,15 @@ jobs:
- embroider-optimized

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 16.x
- uses: actions/cache@v3
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
node-version: 24
cache: pnpm
- run: pnpm install
- name: test
run: npx ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
run: pnpm ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
working-directory: ./test-app/

publish:
Expand Down
3 changes: 0 additions & 3 deletions addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@
"default": "./addon/index"
},
"./*": "./addon/*"
},
"volta": {
"extends": "../package.json"
}
}
Loading