Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaSimsic committed Sep 3, 2024
1 parent b5f41f0 commit 9388683
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/NativePipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: "Determine scope"
id: scope
run: |
if [ ${{ github.event_name }} == 'pull_request' ]; then
if [ "${{ github.event_name }}" == "pull_request" ]; then
echo "scope=--since --include '*-native'" >> $GITHUB_OUTPUT
elif [ {{ github.event_name }} != 'pull_request' ]; then
else
echo "scope=--include '*-native'" >> $GITHUB_OUTPUT
fi
mendix-version:
Expand Down Expand Up @@ -90,9 +90,9 @@ jobs:
- name: "Install dependencies"
run: yarn install --immutable
- name: "Unit test"
run: yarn workspaces foreach --all run test
run: yarn workspaces foreach ${{ steps.scope.outputs.scope }} run test
- name: "Run build for development"
run: yarn workspaces foreach --all run build
run: yarn workspaces foreach ${{ steps.scope.outputs.scope }} run build
env:
NODE_OPTIONS: --max_old_space_size=6144
- name: "Upload resources artifact"
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
adb push "/Users/runner/work/native-widgets/native-widgets/detox/apps/app-appstore-debug-androidTest.apk" "/data/local/tmp/detox/Test.apk"
adb shell pm install -r -g -t /data/local/tmp/detox/Application.apk 2>/dev/null
adb shell pm install -r -g -t /data/local/tmp/detox/Test.apk 2>/dev/null
yarn workspaces foreach --all run test:e2e:android
yarn workspaces foreach ${{ steps.scope.outputs.scope }} run test:e2e:android
- name: "Archive runtime logs"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: always()
Expand Down Expand Up @@ -456,7 +456,7 @@ jobs:
- name: List supported iOS devices
run: applesimutils --list
- name: "Run tests"
run: yarn workspaces foreach --all run test:e2e:ios
run: yarn workspaces foreach ${{ steps.scope.outputs.scope }} run test:e2e:ios
- name: "Archive runtime logs"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: always()
Expand Down

0 comments on commit 9388683

Please sign in to comment.