Skip to content

Commit d500222

Browse files
committed
[build] Bump env, update playwright to 1.57.0
1 parent d619120 commit d500222

File tree

6 files changed

+184
-47
lines changed

6 files changed

+184
-47
lines changed

.github/workflows/version-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
pull-requests: write
1414

1515
env:
16-
PLAYWRIGHT_VERSION: "1.54.1"
16+
PLAYWRIGHT_VERSION: "1.57.0"
1717

1818
jobs:
1919
version:

flake.lock

Lines changed: 87 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
inputs = {
3-
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.05";
3+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
44
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
5+
playwright.url = "github:pietdevries94/playwright-web-flake/1.57.0";
56
mk.url = "github:x0k/mk";
67
};
78
outputs =
@@ -10,10 +11,17 @@
1011
nixpkgs,
1112
nixpkgs-unstable,
1213
mk,
14+
playwright,
1315
}:
1416
let
1517
system = "x86_64-linux";
16-
pkgs = import nixpkgs { inherit system; };
18+
overlay = final: prev: {
19+
inherit (playwright.packages.${system}) playwright-test playwright-driver;
20+
};
21+
pkgs = import nixpkgs {
22+
inherit system;
23+
overlays = [ overlay ];
24+
};
1725
unstablePkgs = import nixpkgs-unstable {
1826
inherit system;
1927
};
@@ -22,15 +30,15 @@
2230
devShells.${system} = {
2331
default = pkgs.mkShell {
2432
nativeBuildInputs = [
25-
unstablePkgs.playwright.browsers
33+
pkgs.playwright-driver.browsers
2634
];
2735
buildInputs = [
2836
mk.packages.${system}.default
2937
pkgs.nodejs_24
3038
pkgs.pnpm
3139
];
3240
shellHook = ''
33-
export PLAYWRIGHT_BROWSERS_PATH=${unstablePkgs.playwright.browsers}
41+
export PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-driver.browsers}
3442
source <(COMPLETE=''${SHELL##*/} mk)
3543
'';
3644
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"type": "module",
77
"version": "0.0.0",
8-
"packageManager": "pnpm@10.15.1",
8+
"packageManager": "pnpm@10.24.0",
99
"scripts": {
1010
"preinstall": "npx only-allow pnpm",
1111
"check": "turbo run check",

0 commit comments

Comments
 (0)