Skip to content

fix(deps): update all non-major dependencies #2421

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #2421

Workflow file for this run

name: "Package aws-durable-lambda plugin"
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
package:
# Don't build if Semantic Release pushes a ci skip commit
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
bundler:
[
vanilla,
serverless-esbuild,
serverless-jetpack,
spt,
serverless-webpack,
]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/fermium
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
# Security Note:
# This IAM user only has permissions to DescribeStacks for any stack
# that begins with "adl-example-*" in the build sandbox environment.
# Permission is required for PR workflows to be run by new contributors.
#
# Future work: do this with a role (see: https://github.com/aws-actions/configure-aws-credentials#credentials)
# or better yet at some point we might not need this if Serverless removes the
# dependency on AWS credentials for packaging (follow https://github.com/serverless/serverless/issues/8187)
aws-access-key-id: ${{ secrets.PACKAGE_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PACKAGE_AWS_SECRET_ACCESS_KEY }}
aws-region: ap-southeast-2
# TODO: Can we build/test the plugin once and then share with the example project jobs?
- run: yarn install
name: Install plugin dependencies
working-directory: plugin
- run: yarn format-check
if: matrix.os == 'ubuntu-latest'
name: Check plugin formatting
working-directory: plugin
- run: yarn build
name: Build plugin
working-directory: plugin
- run: yarn install
name: Install example project dependencies
working-directory: examples/${{ matrix.bundler }}
- run: yarn sls package --stage sandbox --verbose
name: Package example project
working-directory: examples/${{ matrix.bundler }}
# TODO: We need to verify the output (or deploy it somewhere and fire and API call)
# Otherwise only the most obvious errors will show up