Просмотр исходного кода

ci: remove js source maps files for cloudflare pages because of that has a max file size limit < 29.2M

charlie 3 лет назад
Родитель
Сommit
1119c54d7c
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      .github/workflows/build-stage.yml

+ 3 - 1
.github/workflows/build-stage.yml

@@ -37,7 +37,9 @@ jobs:
         run: yarn cache clean && yarn install --frozen-lockfile
 
       - name: Build Released-Web
-        run: yarn gulp:build && clojure -M:cljs release app  --config-merge '{:asset-path "${{env.asset-path}}"}'
+        run: |
+          yarn gulp:build && clojure -M:cljs release app  --config-merge '{:asset-path "${{env.asset-path}}"}'
+          rm -rf ./static/*.js.map
 
       - name: Publish to Cloudflare Pages
         uses: cloudflare/pages-action@1