Skip to content

Commit

Permalink
swap to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Sep 29, 2024
1 parent 81b0041 commit b06d81d
Show file tree
Hide file tree
Showing 4 changed files with 13,651 additions and 55,399 deletions.
48 changes: 26 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
- master
pull_request_target: {}
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
Expand All @@ -17,33 +17,35 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x
cache: npm
cache: pnpm
- name: Install Dependencies
run: npm ci
run: pnpm i --frozen-lockfile
- name: Lint
run: npm run lint
run: pnpm run lint
- name: Run Tests
run: npm run test:ember
run: pnpm run test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 12.x
cache: npm
cache: pnpm
- name: Install Dependencies
run: npm install --no-shrinkwrap
run: pnpm install --no-lockfile
- name: Run Tests
run: npm run test:ember
run: pnpm run test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
Expand All @@ -59,16 +61,17 @@ jobs:
- ember-classic

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x
cache: npm
cache: pnpm
- name: Install Dependencies
run: npm ci
run: pnpm --frozen-lockfile
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
run: pnpm ember try:one ${{ matrix.try-scenario }}

failing-try-scenarios:
name: ${{ matrix.try-scenario }} Allowed to fail
Expand All @@ -89,17 +92,18 @@ jobs:
- embroider-optimized

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x
cache: npm
cache: pnpm
- name: Install Dependencies
run: npm ci
run: pnpm i --frozen-lockfile
- name: Run Tests
id: tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
run: pnpm ember try:one ${{ matrix.try-scenario }}
continue-on-error: true
- uses: mainmatter/continue-on-error-comment@v1
with:
Expand Down
Loading

0 comments on commit b06d81d

Please sign in to comment.