Skip to content

feat: add an entrypoint which embeds the wasm instead of requiring it to be fetched over the network when deployed as a Netlify Edge Function #104

feat: add an entrypoint which embeds the wasm instead of requiring it to be fetched over the network when deployed as a Netlify Edge Function

feat: add an entrypoint which embeds the wasm instead of requiring it to be fetched over the network when deployed as a Netlify Edge Function #104

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.44.4
- name: Rebuild files and run tests
run: ./build-and-test
- name: Check if files need to be rebuilt and committed
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "The files need to be rebuilt and committed.";
echo "$( git status --porcelain)"
exit 1;
fi