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 Sep 5, 2024
1 parent ed3ac9e commit ae411e3
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
20 changes: 20 additions & 0 deletions .github/workflows/release-file-system-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Workflow derived from https://github.com/r-wasm/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
release:
# Must republish release to update assets
types: [ published ]

name: Build and deploy wasm R package image

jobs:
release-file-system-image:
uses: r-wasm/actions/.github/workflows/release-file-system-image.yml@v2
permissions:
# For publishing artifact files to the release
contents: write
# To download GitHub Packages within action
repository-projects: read
with:
strip: "demo, doc, examples, help, html, include, tests, vignette"
compress: true
33 changes: 33 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,36 @@ RdMacros: lifecycle
Config/testthat/edition: 3
Config/Needs/check:
shinytest2
Config/Needs/wasm:
R6,
Rcpp,
base64enc,
bslib,
cachem,
cli,
codetools,
commonmark,
crayon,
digest,
ellipsis,
fastmap,
fontawesome,
fs,
glue,
htmltools,
httpuv,
jquerylib,
jsonlite,
later,
lifecycle,
magrittr,
memoise,
mime,
promises,
rappdirs,
renv,
rlang,
sass,
sourcetools,
withr,
xtable

0 comments on commit ae411e3

Please sign in to comment.