Github Actions snippets for Pyodide
...
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
orplawright
browser
-chrome
orfirefox
ornode
orsafari
browser-version
- browser version, e.g.latest
(chrome) or18
(node)driver-version
- webdriver version, only forselenium
runnerplaywright-version
- specify playwright version, only forplaywright
runnerpython-executable
- path to python executable, default ispython
...
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