.gitea/workflows/build.yml aktualisiert
Build and Bundle Gleam App / build-and-bundle (push) Failing after 21s
Build and Bundle Gleam App / build-and-bundle (push) Failing after 21s
This commit is contained in:
@@ -19,6 +19,9 @@ jobs:
|
|||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
- name: Build Gleam to JavaScript
|
||||||
|
run: gleam build --target javascript
|
||||||
|
|
||||||
- name: Build bundle
|
- name: Build bundle
|
||||||
run: |
|
run: |
|
||||||
./node_modules/.bin/esbuild \
|
./node_modules/.bin/esbuild \
|
||||||
@@ -27,14 +30,3 @@ jobs:
|
|||||||
--outfile=parser.js \
|
--outfile=parser.js \
|
||||||
--format=iife \
|
--format=iife \
|
||||||
--global-name=App
|
--global-name=App
|
||||||
|
|
||||||
- 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