Skip to content

Commit

Permalink
chore: pnpm 9 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Techn1x committed Nov 11, 2024
1 parent 71615a0 commit b23d6f8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- uses: actions/setup-node@v4
with:
Expand All @@ -35,73 +35,73 @@ jobs:
run: pnpm --filter ember-basic-dropdown lint

test:
name: "Tests"
name: 'Tests'
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'pnpm'

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

- name: Run Tests
run: pnpm --filter test-app test:ember

test-shadow-dom:
name: "Tests Shadow dom"
name: 'Tests Shadow dom'
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'pnpm'

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

- name: Run Tests
run: pnpm --filter test-app test:ember-shadow-dom

floating:
name: "Floating Dependencies"
name: 'Floating Dependencies'
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'pnpm'

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

- name: Run Tests
run: pnpm --filter test-app test:ember

Expand Down Expand Up @@ -129,20 +129,20 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'pnpm'

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

- name: Run Tests
env:
EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
contents: read
pages: write
id-token: write

jobs:
lint:
name: Lint
Expand All @@ -22,7 +22,7 @@ jobs:

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- uses: actions/setup-node@v4
with:
Expand All @@ -36,26 +36,26 @@ jobs:
run: pnpm --filter docs lint

test:
name: "Tests"
name: 'Tests'
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm

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

- name: Run Tests
run: pnpm --filter docs test:ember

Expand All @@ -67,26 +67,26 @@ jobs:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/master'))
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm

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

- name: Run Tests
run: pnpm --filter docs build

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -102,4 +102,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/push-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
Expand All @@ -32,4 +32,4 @@ jobs:
with:
branch: dist
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: 'ember-basic-dropdown'
working-directory: 'ember-basic-dropdown'

0 comments on commit b23d6f8

Please sign in to comment.