Skip to content

Commit

Permalink
Adds frontend bundle validation to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Dec 4, 2023
1 parent 3b288f2 commit 5986f26
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,31 @@ jobs:
shell: bash
run: |
./scripts/run-test-codegen-configurations.sh -t
verify-frontend-bundle-latest:
runs-on: macos-13
needs: [changes]
if: ${{ needs.changes.outputs.codegen == 'true' }}
timeout-minutes: 5
name: Verify Frontend Bundle Latest - macOS
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Node packages
shell: bash
working-directory: apollo-ios-codegen/Sources/GraphQLCompiler/JavaScript
run: |
npm install
- name: Rollup Bundle
shell: bash
working-directory: apollo-ios-codegen/Sources/GraphQLCompiler/JavaScript
run: |
npm install --global rollup
sh ./auto_rollup.sh
- name: Verify Latest
shell: bash
run: |
git diff --exit-code
run-cocoapods-integration-tests:
runs-on: macos-13
Expand Down

0 comments on commit 5986f26

Please sign in to comment.