Unverified Commit 544da49f authored by Leonard Brünings's avatar Leonard Brünings Committed by Daz DeBoer
Browse files

Disable minify to get smaller diffs and save space

Due to a limitation in ncc, the js files contain CRLF line endings
which are then converted by git.
parent 26ea4afa
Loading
Loading
Loading
Loading
+15 −6
Changes for .github/workflows/dev.yml: 15 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -15,10 +15,19 @@ jobs:
      run: |
        npm install
        npm run all
    - name: Check for uncommitted changes
      # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.

    - name: Compare the expected and actual dist/ directories
      run: |
        git diff --exit-code --stat -- . ':!node_modules' \
        || (echo "##[error] found changed files after build. please 'npm run all'" \
                 "and check in all changes" \
            && exit 1)
        if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
          echo "Detected uncommitted changes after build.  See status below:"
          git diff
          exit 1
        fi
      id: diff

    # If index.js was different than expected, upload the expected version as an artifact
    - uses: actions/upload-artifact@v2
      if: ${{ failure() && steps.diff.conclusion == 'failure' }}
      with:
        name: dist
        path: dist/
+66407 −221

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+65082 −221

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

Loading