talc/.forgejo/workflows/webrepl.yaml

37 lines
759 B
YAML
Raw Normal View History

2025-01-06 00:18:13 -05:00
name: webrepl
2025-01-06 13:48:15 -05:00
on:
push:
branches:
- main
2025-01-06 00:18:13 -05:00
jobs:
test:
runs-on: docker
container:
image: rust:1.83-alpine
steps:
- name: Install dependencies
2025-01-06 00:26:28 -05:00
run: apk add --no-cache git nodejs util-linux wasm-pack
2025-01-06 00:18:13 -05:00
- 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: |
2025-01-06 00:32:29 -05:00
talc-web/*.html
talc-web/*.js
talc-web/*.css
talc-web/pkg/
2025-01-06 00:18:13 -05:00
if-no-files-found: error
- name: Done
run: echo done!