Skip to content

Commit 8ba70a0

Browse files
authored
Merge pull request #13 from ether/ci/pnpm11-deps
ci: pnpm 11 in CI, dependencies up to date, grouped Dependabot
2 parents aae40bb + d67d753 commit 8ba70a0

5 files changed

Lines changed: 1108 additions & 679 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
# One PR a week for the minor and patch updates, so they do not pile up;
4+
# major updates come one by one.
5+
- package-ecosystem: npm
6+
directory: /
7+
schedule:
8+
interval: weekly
9+
groups:
10+
minor-and-patch:
11+
update-types: [minor, patch]
12+
- package-ecosystem: github-actions
13+
directory: /
14+
schedule:
15+
interval: weekly
16+
groups:
17+
actions:
18+
patterns: ["*"]

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ permissions:
1111
pages: write
1212
id-token: write
1313

14+
# One run per branch or PR: a new push cancels the old run of the same
15+
# branch, never another branch's (Dependabot opens several at once).
1416
concurrency:
15-
group: pages
17+
group: ci-${{ github.ref }}
1618
cancel-in-progress: true
1719

1820
jobs:
@@ -22,9 +24,8 @@ jobs:
2224
steps:
2325
- uses: actions/checkout@v4
2426

27+
# The version comes from "packageManager" in package.json (pnpm 11).
2528
- uses: pnpm/action-setup@v4
26-
with:
27-
version: 9
2829

2930
- uses: actions/setup-node@v4
3031
with:
@@ -55,9 +56,8 @@ jobs:
5556
steps:
5657
- uses: actions/checkout@v4
5758

59+
# The version comes from "packageManager" in package.json (pnpm 11).
5860
- uses: pnpm/action-setup@v4
59-
with:
60-
version: 9
6161

6262
- uses: actions/setup-node@v4
6363
with:
@@ -80,6 +80,10 @@ jobs:
8080
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
8181
needs: [check, test]
8282
runs-on: ubuntu-latest
83+
# Pages deployments one after the other, never two at once.
84+
concurrency:
85+
group: pages
86+
cancel-in-progress: false
8387
environment:
8488
name: github-pages
8589
url: ${{ steps.deployment.outputs.page_url }}

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ jobs:
2121
fetch-depth: 0
2222
ref: main
2323

24+
# The version comes from "packageManager" in package.json (pnpm 11).
2425
- uses: pnpm/action-setup@v4
25-
with:
26-
version: 9
2726

2827
- uses: actions/setup-node@v4
2928
with:

‎package.json‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,22 @@
5050
},
5151
"dependencies": {
5252
"@lit/reactive-element": "^2.1.2",
53-
"lit": "^3.3.2",
53+
"lit": "^3.3.3",
5454
"lit-element": "^4.2.2",
55-
"lit-html": "^3.3.2"
55+
"lit-html": "^3.3.3"
5656
},
5757
"devDependencies": {
58-
"@storybook/addon-vitest": "^10.3.5",
59-
"@storybook/web-components": "^10.3.5",
60-
"@storybook/web-components-vite": "^10.3.5",
61-
"@vitest/browser": "^4.1.3",
62-
"@vitest/browser-playwright": "^4.1.3",
63-
"@vitest/runner": "^4.1.3",
64-
"playwright": "^1.59.1",
65-
"storybook": "^10.3.5",
66-
"typescript": "^6.0.2",
67-
"vite": "^8.0.7",
68-
"vitest": "^4.1.3"
69-
}
58+
"@storybook/addon-vitest": "^10.6.8",
59+
"@storybook/web-components": "^10.6.8",
60+
"@storybook/web-components-vite": "^10.6.8",
61+
"@vitest/browser": "^4.1.12",
62+
"@vitest/browser-playwright": "^4.1.12",
63+
"@vitest/runner": "^4.1.11",
64+
"playwright": "^1.65.1",
65+
"storybook": "^10.6.8",
66+
"typescript": "^6.0.3",
67+
"vite": "^8.3.8",
68+
"vitest": "^4.1.12"
69+
},
70+
"packageManager": "pnpm@11.29.0"
7071
}

0 commit comments

Comments
 (0)