Skip to content

Commit 1694e78

Browse files
CI: npx playwright install before running tests
1 parent efd097c commit 1694e78

File tree

4 files changed

+51
-1
lines changed

4 files changed

+51
-1
lines changed

Diff for: Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ SWIFT_BUILD_FLAGS := --swift-sdk $(SWIFT_SDK_ID)
66
.PHONY: bootstrap
77
bootstrap:
88
npm ci
9+
npx playwright install
910

1011
.PHONY: build
1112
build:

Diff for: Plugins/PackageToJS/Tests/MiniMakeTests.swift

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import Testing
1111
let outDir = BuildPath(prefix: "OUTPUT")
1212

1313
let task = make.addTask(output: outDir.appending(path: "output.txt")) {
14-
print($0.output, $1.resolve(path: $0.output).path)
1514
try "Hello".write(toFile: $1.resolve(path: $0.output).path, atomically: true, encoding: .utf8)
1615
}
1716

Diff for: package-lock.json

+49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"license": "MIT",
3636
"devDependencies": {
3737
"@rollup/plugin-typescript": "^8.3.1",
38+
"playwright": "^1.51.0",
3839
"prettier": "2.6.1",
3940
"rollup": "^2.70.0",
4041
"tslib": "^2.3.1",

0 commit comments

Comments
 (0)