This repository stores GitHub actions and reusable workflows associated with R WebAssembly tasks, which can be used in CI. It also has a number of example workflows which use these actions.
We use major version tags to mark breaking changes in these actions. For the current version, please use the v2
tag, e.g.:
jobs:
deploy-cran-repo:
uses: r-wasm/actions/.github/workflows/deploy-cran-repo.yml@v2
-
r-wasm/actions/.github/workflows/deploy-cran-repo.yml
- Reusable workflow that will build a CRAN-like repository for R WebAssembly and deploys the repo to GitHub pages (in beta). Great for groups and organizations using a meta GitHub repo to create a centralized R WebAssembly CRAN-like repository. Similar to CRAN, users do not need to download every package and only the latest published repository version will persist. -
r-wasm/actions/.github/workflows/release-file-system-image.yml
- Reusable workflow that builds a WebAssembly file image and adds the files to a GitHub release. This is typically used within R packages to build and release a Wasm R package library image of your package and its dependencies. Because the assets are tied to a release, they will never be overwritten are are stable over time.
For more documentation about these workflows, please see the reusable workflow readme.
r-wasm/actions/build-rwasm
- Builds a list of R packages for WebAssembly, creates a WebAssembly file image containing an R package library, and creates a CRAN-like repository containing the R package binaries.
See the r-wasm/actions/examples directory for example workflows using these actions and workflows.
- r-lib/actions - GitHub Actions for the R community
- quarto-dev/quarto-actions - Quarto related actions: install, render, publish