Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,29 @@ jobs:

- name: "Linting packages"
run: pnpm lint

- name: "Build packages"
run: pnpm -r pack

- name: "Prepare artifacts"
run: |
mkdir artifacts
sha_short=$(echo "$GITHUB_SHA" | head -c 7)
for package in $(ls *.tgz); do
revisioned=$(echo "$package" | sed -e "s/^\(.*\)\(.tgz\)/\1-$sha_short\2/")
mv $package ./artifacts/$revisioned
done

- name: "Archive @mendix/pluggable-widget-tools package"
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: mendix-pluggable-widgets-tools
path: artifacts/mendix-pluggable-widgets-tools*.tgz
retention-days: 5

- name: "Archive @mendix/generator-widget package"
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: mendix-generator-widget
path: artifacts/mendix-generator-widget*.tgz
retention-days: 5
2 changes: 2 additions & 0 deletions packages/pluggable-widgets-tools/bin/mx-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const { auditPluggableWidgetsTools } = require("../dist/commands/audit.js");
const { prettierConfigPath } = require("../dist/utils/formatting.js");
const { toolsRoot, widgetRoot } = require("../dist/widget/paths.js");

console.log("Dummy change to trigger build.");

checkNodeVersion();
(async () => {
try {
Expand Down
Loading