Skip to content

Commit 29481ac

Browse files
committed
Add GHA to build shiny webR image
1 parent dc12576 commit 29481ac

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Workflow derived from https://github.com/r-wasm/actions/tree/v2/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@v2
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"
20+
compress: true

DESCRIPTION

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,38 @@ Roxygen: list(markdown = TRUE)
215215
Config/testthat/edition: 3
216216
Config/Needs/check:
217217
shinytest2
218+
Config/Needs/wasm:
219+
R6,
220+
Rcpp,
221+
base64enc,
222+
bslib,
223+
cachem,
224+
cli,
225+
codetools,
226+
colorspace,
227+
commonmark,
228+
crayon,
229+
digest,
230+
ellipsis,
231+
fastmap,
232+
fontawesome,
233+
fs,
234+
glue,
235+
htmltools,
236+
httpuv,
237+
jquerylib,
238+
jsonlite,
239+
later,
240+
lifecycle,
241+
magrittr,
242+
memoise,
243+
mime,
244+
munsell,
245+
promises,
246+
rappdirs,
247+
renv,
248+
rlang,
249+
sass,
250+
sourcetools,
251+
withr,
252+
xtable

0 commit comments

Comments
 (0)