This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
ci: Fix publish #3
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: Publish packages TEST | |
concurrency: | |
group: test | |
cancel-in-progress: false | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
container: | |
image: public.ecr.aws/jsii/superchain:1-bookworm-slim-node20 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install dependencies | |
run: | | |
make install | |
sudo apt-get update | |
sudo apt-get install -y tree | |
- name: Build source w/ jsii | |
run: | | |
lambda/build | |
npx jsii | |
make validate-package | |
- name: Build packages w/ jsii-pacmak | |
run: | | |
npx jsii-pacmak --verbose | |
tree dist |