Skip to content

Commit a107303

Browse files
committed
Add GHA to build shiny webR image
1 parent b060a08 commit a107303

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

0 commit comments

Comments
 (0)