Skip to content
Open
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
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ delete base.parserOptions.project;

module.exports = deepmerge(base, {
rules: {
"react/react-in-jsx-scope": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "error",
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/archive-test-results/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ runs:
using: composite
steps:
- name: Archive runtime logs
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f #v7
if: always()
with:
name: ${{ inputs.platform }}-runtime-logs-${{ inputs.test-type }}
path: log/*.log
if-no-files-found: ignore

- name: Archive test screenshots
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f #v7
if: always()
with:
name: ${{ inputs.platform }}-screenshots-${{ inputs.test-type }}
path: ${{ inputs.workspace-path }}/maestro/images/actual/${{ inputs.platform }}/**/*.png
if-no-files-found: ignore

- name: Archive artifacts
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f #v7
if: always()
with:
name: ${{ inputs.platform }}-artifacts-${{ inputs.test-type }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/create-native-bundle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ runs:
run: curl -L -o project.zip https://github.com/mendix/Native-Mobile-Resources/archive/refs/heads/main.zip
shell: bash
- name: "Extract test project"
uses: montudor/action-zip@v1.0.0
uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 # v1.0.0
with:
args: unzip -qq project.zip
- name: "Extract deployment package"
uses: montudor/action-zip@v1.0.0
uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 # v1.0.0
with:
args: unzip -qq ${{ inputs.mda-file }} -d Native-Mobile-Resources-main/deployment
- name: "Create bundle for ${{ inputs.platform }}"
Expand All @@ -41,7 +41,7 @@ runs:
env:
NODE_OPTIONS: --max_old_space_size=6144
- name: "Upload bundle for ${{ inputs.platform }}"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
with:
name: ${{ inputs.platform }}-bundle
path: ${{ inputs.platform }}
2 changes: 1 addition & 1 deletion .github/actions/setup-maestro/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runs:
using: "composite"
steps:
- name: "Cache Maestro"
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: $HOME/.local/bin/maestro
key: maestro-${{ runner.os }}-v1
Expand Down
7 changes: 4 additions & 3 deletions .github/actions/setup-node-with-cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ runs:
using: 'composite'
steps:
- name: "Set up node"
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .nvmrc
package-manager-cache: false

- name: "Setup pnpm"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Get pnpm store directory"
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: "Setup cache"
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "Setup Python and install dependencies"
runs:
using: "composite"
steps:
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'
- run: pip install PyYAML httplib2
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-tools/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ runs:

- name: "Setup Java 21"
id: setup-java
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 #v4
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 #v5.2.0
with:
distribution: "temurin"
java-version: "21"

- name: "Cache Mendix runtime"
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 #v5
with:
path: tmp/runtime.tar.gz
key: mendix-runtime-${{ inputs.mendix_version }}

- name: "Cache m2ee-tools"
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 #v4
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 #v5
with:
path: tmp/m2ee
key: m2ee-tools-v1
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/slack-notification/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: "composite"
steps:
- name: Send Slack notification
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
with:
method: chat.postMessage
token: ${{ inputs.bot-token }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- name: "Checking changed files"
id: files
uses: softprops/diffset@db8c4e13f5cc3f8ab666ba2cb6998b688058a41c # v1
uses: softprops/diffset@d60d53313c1b61c12ccb0fc76cbde5a14ae5d330 # v3
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
base: main
Expand All @@ -29,25 +29,26 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Checking-out code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: "Fetching main to compare"
if: github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
- name: "Defining node version"
uses: actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12 # v4
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
package-manager-cache: false
- name: "Setup pnpm"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Get pnpm store directory"
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: "Setup cache"
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/BuildMpk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ jobs:

steps:
- name: "Checking-out code"
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: false
- name: "Defining node version"
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
package-manager-cache: false
- name: "Setup pnpm"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Installing dependencies"
run: pnpm install
- name: "Bumping version"
Expand All @@ -52,7 +53,7 @@ jobs:
VERSION: ${{ steps.bump_version.outputs.VERSION }}

- name: "Upload MPK artifact"
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 #v4
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f #v7
with:
name: ${{ env.ARTIFACT_NAME }}-${{ steps.bump_version.outputs.VERSION }}
path: ${{ env.ARTIFACT_PATH }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/MarketplaceRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,25 @@ jobs:

steps:
- name: "Checking-out code"
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: false
- name: "Defining Environment Variables"
id: variables
run: echo "tag=$(git tag --points-at HEAD)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
- name: "Defining scope"
uses: jungwinter/split@c185fe95439c136a8788b7f700bd5275920d7109 # v1
uses: jungwinter/split@7f51d99e7cc1f147f6f99be75acf5e641930af88 # v2.1.0
id: scope
with:
msg: "${{ steps.variables.outputs.tag }}"
seperator: "-v"
- name: "Defining node version"
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
package-manager-cache: false
- name: "Setup pnpm"
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
- name: "Installing dependencies"
run: pnpm install
- name: "Building native widgets and js actions"
Expand Down
Loading
Loading