ci: exclude sill go tags from changelog.md #41
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: Build | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: jsii/superchain:1-bookworm-slim-node22 | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Restore NPM node_modules | |
uses: actions/cache/[email protected] | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Install node_modules | |
run: | | |
sudo corepack enable | |
yarn install | |
- name: Cache NPM dependencies | |
uses: actions/[email protected] | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Assume role using AWS credentials | |
uses: aws-actions/[email protected] | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: ${{ secrets.CDK_DEPLOY_REGION }} | |
- name: Run build | |
env: | |
CDK_DEPLOY_ACCOUNT: ${{ secrets.CDK_DEPLOY_ACCOUNT }} | |
CDK_DEPLOY_REGION: ${{ secrets.CDK_DEPLOY_REGION }} | |
CDK_DEFAULT_ACCOUNT: ${{ secrets.CDK_DEFAULT_ACCOUNT }} | |
CDK_DEFAULT_REGION: ${{ secrets.CDK_DEFAULT_REGION }} | |
AWS_REGION: ${{ secrets.CDK_DEPLOY_REGION }} | |
run: yarn run ci:gha | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
directory: coverage | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: Run Package | |
run: yarn run jsii:pacmak:parallel |