Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .github/actions/setup-node-with-cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@ runs:
${{ runner.os }}-pnpm-store-

- name: "Install dependencies"
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
Comment thread
vadymv-mendix marked this conversation as resolved.
- name: "Building internal utilities"
run: pnpm run build:internal-utils
shell: bash
5 changes: 4 additions & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: "Installing dependencies"
run: pnpm install
# Avoid running workspace lifecycle builds during install; the internal utilities are built once below.
run: pnpm install --frozen-lockfile --ignore-scripts
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Running build for development"
run: pnpm -r --filter='!native-widgets' --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/main]'; else echo '**'; fi) run build
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/BuildMpk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ jobs:
- name: "Setup pnpm"
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Installing dependencies"
run: pnpm install
# Avoid running workspace lifecycle builds during install; the internal utilities are built once below.
run: pnpm install --frozen-lockfile --ignore-scripts
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Bumping version"
id: bump_version
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/MarketplaceRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
- name: "Setup pnpm"
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Installing dependencies"
run: pnpm install
# Avoid running workspace lifecycle builds during install; the internal utilities are built once below.
run: pnpm install --frozen-lockfile --ignore-scripts
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Building native widgets and js actions"
run: pnpm -r run release
- name: "Updating Native Mobile Resources project"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: "Installing dependencies"
run: pnpm install
# Avoid running workspace lifecycle builds during install; the internal utilities are built once below.
run: pnpm install --frozen-lockfile --ignore-scripts
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Running release for production"
run: pnpm -r --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/main]'; else echo '**'; fi) run release
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: "Installing dependencies"
run: pnpm install
# Avoid running workspace lifecycle builds during install; the internal utilities are built once below.
run: pnpm install --frozen-lockfile --ignore-scripts
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Linting code"
run: pnpm -r --filter=${{ steps.variables.outputs.arg }} run lint
- name: "Running unit tests"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"test:e2e:android": "pnpm -r run test:e2e:android",
"test:e2e:ios": "pnpm -r run test:e2e:ios",
"build": "pnpm -r run build",
"build:internal-utils": "pnpm --filter @mendix/piw-utils-internal --filter @mendix/piw-native-utils-internal run build",
"release": "pnpm -r run release",
"release:marketplace": "pnpm -r run release:marketplace",
"release-github:widget": "node ./scripts/release/createWidgetRelease.js",
Expand Down
Loading