mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: add workers to rtc test workflow
This commit is contained in:
2
.github/workflows/clj-e2e.yml
vendored
2
.github/workflows/clj-e2e.yml
vendored
@@ -78,7 +78,7 @@ jobs:
|
||||
# NOTE: require the app to be build with DEV-RELEASE flag
|
||||
- name: Prepare E2E test build
|
||||
run: |
|
||||
yarn gulp:build && clojure -M:cljs release app --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" --debug && yarn webpack-build
|
||||
yarn gulp:build && clojure -M:cljs release app workers --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" --debug && yarn webpack-build
|
||||
|
||||
- name: Run e2e tests
|
||||
run: cd clj-e2e && timeout 30m bb dev
|
||||
|
||||
2
.github/workflows/clj-rtc-e2e.yml
vendored
2
.github/workflows/clj-rtc-e2e.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
||||
# NOTE: require the app to be build with DEV-RELEASE flag
|
||||
- name: Prepare E2E test build
|
||||
run: |
|
||||
yarn gulp:build && clojure -M:cljs release app --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" --debug && yarn webpack-build
|
||||
yarn gulp:build && clojure -M:cljs release app workers --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" --debug && yarn webpack-build
|
||||
rsync -avz --exclude node_modules --exclude android --exclude ios ./static/ ./public/
|
||||
ls -lR ./public
|
||||
|
||||
|
||||
2
.github/workflows/deploy-db-test-pages.yml
vendored
2
.github/workflows/deploy-db-test-pages.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
|
||||
- name: Build Released-Web
|
||||
run: |
|
||||
yarn gulp:build && clojure -M:cljs release app --config-merge '{:compiler-options {:source-map true :source-map-include-sources-content true :source-map-detail-level :symbols}}' && yarn webpack-build
|
||||
yarn gulp:build && clojure -M:cljs release app workers --config-merge '{:compiler-options {:source-map true :source-map-include-sources-content true :source-map-detail-level :symbols}}' && yarn webpack-build
|
||||
rsync -avz --exclude node_modules --exclude android --exclude ios ./static/ ./public/
|
||||
ls -lR ./public && mkdir r2 && mv ./public/js/main.js.map ./r2/db-test.main.js.map
|
||||
sed -i 's/=main.js.map/=https:\/\/assets.logseq.io\/db-test.main.js.map/g' ./public/js/main.js
|
||||
|
||||
Reference in New Issue
Block a user