Skip to content

Commit 98e1dc4

Browse files
committed
Add GHA to build shiny webR image
1 parent 45e6c75 commit 98e1dc4

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-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: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,36 @@ RdMacros: lifecycle
211211
Config/testthat/edition: 3
212212
Config/Needs/check:
213213
shinytest2
214+
Config/Needs/wasm:
215+
R6,
216+
Rcpp,
217+
base64enc,
218+
bslib,
219+
cachem,
220+
cli,
221+
codetools,
222+
commonmark,
223+
crayon,
224+
digest,
225+
ellipsis,
226+
fastmap,
227+
fontawesome,
228+
fs,
229+
glue,
230+
htmltools,
231+
httpuv,
232+
jquerylib,
233+
jsonlite,
234+
later,
235+
lifecycle,
236+
magrittr,
237+
memoise,
238+
mime,
239+
promises,
240+
rappdirs,
241+
renv,
242+
rlang,
243+
sass,
244+
sourcetools,
245+
withr,
246+
xtable

0 commit comments

Comments
 (0)