Skip to content

Commit 94d1db6

Browse files
committed
Add GHA to build shiny webR image
1 parent 093e9d0 commit 94d1db6

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Workflow derived from https://github.com/r-wasm/actions/tree/v1/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
release:
5+
# Must republish release to update assets
6+
types: [ published ]
7+
8+
name: Build and deploy wasm R package image
9+
10+
jobs:
11+
release-file-system-image:
12+
uses: r-wasm/actions/.github/workflows/release-file-system-image.yml@v1
13+
permissions:
14+
# For publishing artifact files to the release
15+
contents: write
16+
# To download GitHub Packages within action
17+
repository-projects: read
18+
with:
19+
strip: "demo, doc, examples, help, html, include, tests, vignette"

DESCRIPTION

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ RoxygenNote: 7.2.3
207207
Encoding: UTF-8
208208
Roxygen: list(markdown = TRUE)
209209
RdMacros: lifecycle
210+
Config/Needs/wasm:
211+
httpuv,
212+
codetools,
213+
renv,
214+
shiny
210215
Config/testthat/edition: 3
211216
Config/Needs/check:
212217
shinytest2

0 commit comments

Comments
 (0)