Skip to content

Commit

Permalink
build additional unminified extension in gh actions (cf georchestra/m…
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb authored Jul 5, 2024
1 parent fe8161c commit 5ef8f9f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cadastrapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ jobs:
with:
name: Cadastrapp-${{ github.sha }}
path: dist/Cadastrapp.zip

- name: "change webpack config to avoid minification"
run: sed -i -e 's/prod: true/prod: false/' build/extension/prod-webpack.config.js

- name: "build unminified"
run: npm run ext:build

- name: "publish zip as artifact"
uses: actions/upload-artifact@v1
with:
name: Cadastrapp-unminified-${{ github.sha }}
path: dist/Cadastrapp.zip

0 comments on commit 5ef8f9f

Please sign in to comment.