Skip to content

Commit 8d16aa3

Browse files
authored
[MOO-1553]: Fix failing pipelines in native widgets repository (#162)
2 parents 59f671d + 5a86b4d commit 8d16aa3

22 files changed

Lines changed: 7638 additions & 7128 deletions

File tree

.github/actions/create-native-bundle/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
/tmp/mxbuild/modeler/tools/node/linux-x64/node \
3434
/tmp/mxbuild/modeler/tools/node/node_modules/react-native/local-cli/cli.js \
3535
bundle --verbose --platform ${{ inputs.platform }} --dev false \
36-
--config "$PWD/metro.config.json" \
36+
--config "$PWD/metro.config.js" \
3737
--bundle-output $GITHUB_WORKSPACE/${{ inputs.platform }}/index.${{ inputs.platform }}.bundle \
3838
--assets-dest $GITHUB_WORKSPACE/${{ inputs.platform }}/assets/ \
3939
--entry-file ./index.js

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- Contains unit tests ✅ ❌
44
- Contains breaking changes ✅ ❌
5-
- Compatible with: MX 7️⃣, 8️⃣, 9️⃣
5+
- Compatible with: MX 8, 9, 10
66
- Did you update version and changelog? ✅ ❌
77
- PR title properly formatted (`[XX-000]: description`)? ✅ ❌
88
- Works in Android ✅ ❌

.github/scripts/mxbuild.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:6.0
1+
FROM mcr.microsoft.com/dotnet/runtime:8.0
22
ARG MENDIX_VERSION
33

44
RUN \

.github/workflows/Build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151
- name: "Installing dependencies"
5252
run: yarn install
5353
- name: "Running build for development"
54-
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --parallel run build
54+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all --parallel run build
5555
env:
5656
NODE_OPTIONS: --max_old_space_size=8192

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848
- name: "Installing dependencies"
4949
run: yarn install
5050
- name: "Running release for production"
51-
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --parallel run release
51+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all --parallel run release
5252
env:
5353
NODE_OPTIONS: --max_old_space_size=8192

.github/workflows/UnitTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
- name: "Installing dependencies"
5151
run: yarn install
5252
- name: "Linting code"
53-
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --parallel run lint
53+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all --parallel run lint
5454
- name: "Running unit tests"
55-
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --parallel run test
55+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all --parallel run test

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
yarn format && yarn validate-staged-widget-versions

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.15.0
1+
20.16.0

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.yarn/releases/yarn-3.4.1.cjs

Lines changed: 0 additions & 873 deletions
This file was deleted.

0 commit comments

Comments
 (0)