File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change
1
+ <p >
2
+ <a href =" https://github.com/browser-actions/setup-chromium/actions " ><img alt =" typescript-action status " src =" https://github.com/browser-actions/setup-chromium/workflows/build-test/badge.svg " ></a >
3
+ </p >
4
+
1
5
# setup-chromium
2
- Set up your GitHub Actions workflow with a specific version of chromium
6
+
7
+ This action sets by Chromium for use in actions by:
8
+
9
+ - downloading and caching a version of Chromium by version and add to PATH
10
+
11
+ ## Usage
12
+
13
+ See [ action.yml] ( action.yml )
14
+
15
+ Basic usage:
16
+
17
+ ``` yaml
18
+ steps :
19
+ - uses : browser-actions/setup-chromium@latest
20
+ - run : chrome --version
21
+ ` ` `
22
+
23
+ **Note that the installed binary is ` chrome` but not `chromium` on Linux and
24
+ Windows.** Be sure to pass a full-path to `chrome` to your test system if the
25
+ system expects that `chromium` exists in PATH such as [karma-chromium-runner][] :
26
+
27
+ [karma-chromium-runner] : https://github.com/karma-runner/karma-chrome-launcher
28
+
29
+ ` ` ` sh
30
+ CHROMIUM_BIN=$(which chrome) npm run test
31
+ ` ` `
32
+
33
+ # # License
34
+
35
+ [MIT](LICENSE)
You can’t perform that action at this time.
0 commit comments