Github Actions snippets for Pyodide
install-browser
...
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- uses: pyodide/pyodide-actions/install-browser
with:
runner: selenium
browser: chrome
browser-version: latest
runner
- selenium
or plawright
browser
- chrome
or firefox
or node
or safari
browser-version
- browser version, e.g. latest
(chrome) or 18
(node)driver-version
- webdriver version, only for selenium
runnerplaywright-version
- specify playwright version, only for playwright
runnerpython-executable
- path to python executable, default is python
download-pyodide
...
steps:
- uses: actions/checkout@v3
- uses: pyodide/pyodide-actions/download-pyodide
with:
version: 0.21.0
to: dist
version
- Pyodide version, e.g. 0.21.0
to
- path to download Pyodide