Skip to content

Commit 4fa655a

Browse files
committed
Release for 603e80b
1 parent 01078ae commit 4fa655a

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
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+
15
# 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)

0 commit comments

Comments
 (0)