[APPSEC-61865] (WIP) Add inferred span and AppSec calls for API Gateway #247
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: check-size | |
| on: pull_request | |
| jobs: | |
| check-size: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Node 14.15 | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 14.15 | |
| - name: Cache Node modules | |
| id: cache-node-modules | |
| uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 | |
| with: | |
| path: "**/node_modules" | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Install dependencies | |
| if: steps.cache-node-modules.outputs.cache-hit != 'true' | |
| run: yarn install | |
| - name: Install Crossbuild dependencies | |
| run: | | |
| sudo apt-get update --allow-releaseinfo-change --fix-missing | |
| sudo apt install -y qemu-user-static binfmt-support | |
| - name: Build Layers | |
| run: ./scripts/build_layers.sh | |
| - name: Check Size | |
| run: ./scripts/check_layer_size.sh |