talc/.forgejo/workflows/webrepl.yaml
trimill a3001106ab
All checks were successful
docs / test (push) Successful in 9s
webrepl / test (push) Successful in 3m5s
web
2025-01-06 13:48:15 -05:00

36 lines
759 B
YAML

name: webrepl
on:
push:
branches:
- main
jobs:
test:
runs-on: docker
container:
image: rust:1.83-alpine
steps:
- name: Install dependencies
run: apk add --no-cache git nodejs util-linux wasm-pack
- name: Checkout
uses: actions/checkout@v4
- name: Build talc-web
run: wasm-pack build --release --no-typescript --no-pack --target web
working-directory: talc-web
- name: Save artifacts
uses: forgejo/upload-artifact@v4
with:
name: webrepl
path: |
talc-web/*.html
talc-web/*.js
talc-web/*.css
talc-web/pkg/
if-no-files-found: error
- name: Done
run: echo done!