Skip to content

Implement 'disposeContext' option in Configuration and EsbuildFunctionDefinitionHandler #313

Implement 'disposeContext' option in Configuration and EsbuildFunctionDefinitionHandler

Implement 'disposeContext' option in Configuration and EsbuildFunctionDefinitionHandler #313

Workflow file for this run

name: pull
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- uses: pnpm/action-setup@v2
with:
version: 7
- run: npm ci
- run: npm test
- run: npm run test:e2e
- name: Upload e2e test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-test-artifact
path: |
.test-artifacts/**/.serverless/*.json
.test-artifacts/**/.serverless/*.zip
retention-days: 7
- run: npm run build --if-present