Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

chore: Bump @babel/traverse from 7.21.4 to 7.23.2 in /code/typescript/internal-constructs-workshop/internal-construct-hub #107

chore: Bump @babel/traverse from 7.21.4 to 7.23.2 in /code/typescript/internal-constructs-workshop/internal-construct-hub

chore: Bump @babel/traverse from 7.21.4 to 7.23.2 in /code/typescript/internal-constructs-workshop/internal-construct-hub #107

name: Build, Test, Synth Typescript sample code
on:
pull_request:
paths:
- code/typescript/**
jobs:
main-workshop:
name: CDK synth main-workshop sample code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install NPM modules
working-directory: code/typescript/main-workshop
run: npm install
- name: Build
working-directory: code/typescript/main-workshop
run: npm run build
- name: CDK synth
working-directory: code/typescript/main-workshop
run: npx cdk synth
pipelines-workshop:
name: CDK synth pipelines-workshop sample code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install NPM modules
working-directory: code/typescript/pipelines-workshop
run: npm install
- name: Build
working-directory: code/typescript/pipelines-workshop
run: npm run build
- name: CDK synth
working-directory: code/typescript/pipelines-workshop
run: npx cdk synth
tests-workshop:
name: CDK synth and test tests-workshop sample code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install NPM modules
working-directory: code/typescript/tests-workshop
run: npm install
- name: Build
working-directory: code/typescript/tests-workshop
run: npm run build
- name: CDK synth
working-directory: code/typescript/tests-workshop
run: npx cdk synth
- name: Run tests
working-directory: code/typescript/tests-workshop
run: npx jest
tests-construct-workshop-constructib-construct:
name: CDK synth and test construct workshop constructlib construct
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 18
uses: actions/setup-node@v2
with:
node-version: 18
- name: Setup dotnet 3.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Setup Java 11.x
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- name: Setup Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install NPM modules
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/constructs
run: yarn install --frozen-lockfile
- name: Print Node and Projen version
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/constructs
run: node --version && npx projen --version && grep 'projen"' package.json && npx jsii --version
- name: Build
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/constructs
run: npm run build
- name: Run tests
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/constructs
run: npx jest
tests-construct-workshop-constructlib-pipeline:
name: CDK synth and test construct workshop constructlib pipeline
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install NPM modules
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/pipeline
run: npm install
- name: CDK synth
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/pipeline
run: npx cdk synth
- name: Run tests
working-directory: code/typescript/internal-constructs-workshop/construct-lib-repo/pipeline
run: npx jest
tests-construct-workshop-constructhub:
name: CDK synth and test construct workshop constructhub
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install NPM modules
working-directory: code/typescript/internal-constructs-workshop/internal-construct-hub
run: npm install
- name: CDK synth
working-directory: code/typescript/internal-constructs-workshop/internal-construct-hub
run: npx cdk synth
- name: Run tests
working-directory: code/typescript/internal-constructs-workshop/internal-construct-hub
run: npx jest