This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
chore(deps): update dependency aws-sdk to v2.1594.0 - autoclosed #135
Workflow file for this run
This file contains 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: Test | |
concurrency: | |
group: test | |
cancel-in-progress: false | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
container: | |
image: public.ecr.aws/jsii/superchain:1-bookworm-slim-node20 | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Cache node modules | |
id: cache-npm | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: .npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Install dependencies | |
run: | | |
set -euo pipefail | |
make install | |
(cd test && make install) | |
sudo apt-get update | |
sudo apt-get install -y tree | |
- name: Deploy & Destroy | |
run: cd test && make deploy DESTROY | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- name: Build source w/ jsii | |
run: npx jsii | |
- name: Build packages w/ jsii-pacmak | |
run: | | |
set -euo pipefail | |
npx jsii-pacmak --verbose | |
tree dist |