diff --git a/.github/workflows/eas-build.yml b/.github/workflows/eas-build.yml deleted file mode 100644 index 0bac627..0000000 --- a/.github/workflows/eas-build.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: EAS Build Preview -on: - push: - branches: - - main -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: 🏗 Setup repo - uses: actions/checkout@v3 - - - name: 🏗 Setup Node - uses: actions/setup-node@v3 - with: - node-version: 18.x - cache: yarn - - - name: 🏗 Setup EAS - uses: expo/expo-github-action@v8 - with: - eas-version: latest - token: ${{ secrets.EXPO_TOKEN }} - - - name: 📦 Install dependencies - run: yarn install - - - name: 🚀 Build app - run: eas build -p ios --profile preview --local --non-interactive diff --git a/.github/workflows/securityCheck.yml b/.github/workflows/securityCheck.yml index 221ff5f..c29b65d 100644 --- a/.github/workflows/securityCheck.yml +++ b/.github/workflows/securityCheck.yml @@ -32,6 +32,9 @@ jobs: args: --json env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + + - name: Save Snyk results to output + run: echo "SNYK_RESULT=$(cat snyk-results.json)" >> $GITHUB_ENV - name: Comment PR with Snyk results if: github.event_name == 'pull_request' @@ -40,7 +43,7 @@ jobs: message: | ### 🛡️ Snyk Security Results ``` - ${{ steps.snyk.outputs.stdout }} + ${{ env.SNYK_RESULT }} ``` GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}