.gitea/workflows/build.yml hinzugefügt
Build and Bundle Gleam App / build-and-bundle (push) Failing after 2m19s
Build and Bundle Gleam App / build-and-bundle (push) Failing after 2m19s
This commit is contained in:
@@ -0,0 +1,29 @@
|
|||||||
|
name: Build and Bundle Gleam App
|
||||||
|
run-name: ${{ gitea.actor }} pushed a commit
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "**" # Triggers on every commit to any branch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-bundle:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
# Replace this with the path to the image you built and pushed
|
||||||
|
image: jaypoch/lumabuilder:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build Gleam to JavaScript
|
||||||
|
run: gleam build --target javascript
|
||||||
|
|
||||||
|
- name: Bundle with esbuild
|
||||||
|
run: |
|
||||||
|
npx esbuild build/dev/javascript/markdown2/markdown2.mjs \
|
||||||
|
--bundle \
|
||||||
|
--outfile=parser.js \
|
||||||
|
--format=iife \
|
||||||
|
--global-name=App
|
||||||
Reference in New Issue
Block a user