Skip to content

Commit

Permalink
Migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed May 4, 2023
1 parent 5862d31 commit 165a65a
Show file tree
Hide file tree
Showing 5 changed files with 11,322 additions and 11,166 deletions.
36 changes: 14 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,22 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test:ember
working-directory: addon
- uses: wyvox/action@v1
- run: pnpm lint
- run: pnpm test:ember
working-directory: test-app

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

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- run: yarn install --no-lockfile
- run: yarn test:ember
working-directory: addon
- uses: wyvox/action@v1
with:
pnpm-args: '--no-lockfile'
- run: pnpm test:ember
working-directory: test-app

try-scenarios:
name: 'Try: ${{ matrix.ember-try-scenario }}'
Expand All @@ -60,13 +58,10 @@ jobs:
- embroider-optimized

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- name: install dependencies
run: yarn install --frozen-lockfile
- uses: wyvox/action@v1
- name: test
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
working-directory: addon
working-directory: test-app

types:
runs-on: ubuntu-latest
Expand All @@ -82,13 +77,10 @@ jobs:
- next

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v4
- name: install dependencies
run: yarn install --frozen-lockfile
- uses: wyvox/action@v1
- name: install TS version
run: yarn install --dev typescript@${{matrix.ts-version}}
run: pnpm install --save-dev typescript@${{matrix.ts-version}}
working-directory: addon
- name: test types
run: yarn test:types
run: pnpm test:types
working-directory: addon
2 changes: 1 addition & 1 deletion addon/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');

module.exports = async function () {
return {
useYarn: true,
usePnpm: true,
scenarios: [
{
name: 'ember-lts-3.28',
Expand Down
Loading

0 comments on commit 165a65a

Please sign in to comment.