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 Dec 15, 2023
1 parent 093e9d0 commit 49fda2f
Show file tree
Hide file tree
Showing 3 changed files with 25 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
19 changes: 19 additions & 0 deletions .github/workflows/release-file-system-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Workflow derived from https://github.com/r-wasm/actions/tree/v1/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@v1
permissions:
# For publishing artifact files to the release
contents: write
# To download GitHub Packages within action
repository-projects: read
with:
strip: 'c("demo", "doc", "examples", "help", "html", "include", "tests", "vignette")'
5 changes: 5 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ RoxygenNote: 7.2.3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RdMacros: lifecycle
Config/Needs/wasm:
httpuv,
codetools,
renv,
shiny
Config/testthat/edition: 3
Config/Needs/check:
shinytest2

0 comments on commit 49fda2f

Please sign in to comment.