chore(deps): bump esbuild from 0.27.4 to 0.27.7 in /packages/framework-dist #440
Workflow file for this run
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: 'CI: Framework CLI' | |
| permissions: | |
| id-token: write | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - 'docs/**' | |
| jobs: | |
| lint: | |
| name: 'Lint' | |
| if: ${{ !github.event.pull_request.draft }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./ | |
| steps: | |
| - name: 'Checkout Code' | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: 'Setup: Node.js' | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: 24.x | |
| check-latest: true | |
| cache: npm | |
| - name: 'Install: Dependencies' | |
| run: npm ci | |
| - name: 'Lint: ESLint' | |
| run: npm run lint | |
| - name: 'Lint: Prettier' | |
| run: npm run prettier | |
| test-engine: | |
| name: 'Test: Engine' | |
| if: ${{ !github.event.pull_request.draft }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./packages/engine | |
| steps: | |
| - name: 'Checkout Code' | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: 'Setup: Node.js' | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: 24.x | |
| check-latest: true | |
| cache: npm | |
| - name: 'Install: Dependencies' | |
| run: | | |
| cd ../../ | |
| npm ci | |
| - name: 'Test: Engine Unit' | |
| run: npm test | |
| test-framework: | |
| name: 'Test: Framework' | |
| if: ${{ !github.event.pull_request.draft }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./packages/sf-core | |
| steps: | |
| - name: 'Checkout Code' | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: 'Setup: Node.js' | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: 24.x | |
| check-latest: true | |
| cache: npm | |
| registry-url: 'https://npm.pkg.github.com' | |
| scope: '@serverlessinc' | |
| - name: 'Setup: AWS Credentials' | |
| uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0 | |
| with: | |
| role-to-assume: arn:aws:iam::762003938904:role/GithubActionsDeploymentRole | |
| aws-region: us-east-1 | |
| - name: 'Install: Dependencies' | |
| run: | | |
| cd ../../ | |
| npm ci | |
| - name: 'Test: Unit (sf-core)' | |
| run: npm run test:unit | |
| - name: 'Test: Unit (serverless)' | |
| working-directory: ./packages/serverless | |
| run: npm run test:unit | |
| - name: 'Build: Minify Shim' | |
| run: | | |
| cd ../serverless/lib/plugins/aws/dev | |
| ../../../../../../node_modules/.bin/esbuild ./shim.js --bundle --platform=node --minify --outfile=./shim.min.js | |
| - name: 'Build: Framework' | |
| run: npm run build | |
| - name: 'Install: Serverless v3' | |
| run: npm install -g serverless@3 | |
| - name: 'Test: Integration' | |
| run: npm run test -- --maxWorkers=8 | |
| env: | |
| SERVERLESS_LICENSE_KEY_DEV: ${{ secrets.SERVERLESS_LICENSE_KEY_DEV }} | |
| SERVERLESS_ACCESS_KEY_DEV: ${{ secrets.SERVERLESS_ACCESS_KEY_DEV }} | |
| TEST_STAGE: pr-${{ github.event.pull_request.user.login }} | |
| SLS_AWS_SDK: 3 | |
| AWS_MAX_ATTEMPTS: 5 | |
| - name: 'Test: Resolvers' | |
| run: npm run test:resolvers -- --maxWorkers=8 | |
| env: | |
| SERVERLESS_LICENSE_KEY_DEV: ${{ secrets.SERVERLESS_LICENSE_KEY_DEV }} | |
| SERVERLESS_ACCESS_KEY_DEV: ${{ secrets.SERVERLESS_ACCESS_KEY_DEV }} | |
| TEST_STAGE: pr-${{ github.event.pull_request.user.login }} | |
| AWS_MAX_ATTEMPTS: 5 |