Skip to content

Commit

Permalink
Add GHA to build shiny webR image
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Nov 15, 2023
1 parent 7113cf6 commit 8b2a9b4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-webr-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches: [webr, webr-safari]
pull_request:
branches: [webr, webr-safari]
workflow_dispatch:

name: Build wasm R package repository

jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/r-wasm/webr:main
steps:
- uses: actions/checkout@v3
- name: Build wasm packages
uses: r-wasm/actions/build-wasm-packages@v0
with:
packages: .github/workflows/build-webr-packages
strip: c("demo", "doc", "examples", "help", "html", "include", "tests", "testthat", "vignette")
4 changes: 4 additions & 0 deletions .github/workflows/build-webr-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
httpuv
codetools
renv
shiny

0 comments on commit 8b2a9b4

Please sign in to comment.