Skip to content

feat: add CLI for simple template transformation #572

feat: add CLI for simple template transformation

feat: add CLI for simple template transformation #572

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
# runs-on: ubuntu-latest
runs-on:
- codebuild-ft-gha-cb-dev2-${{ github.run_id }}-${{ github.run_attempt }}
- instance-size:large
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}.x
cache: 'npm'
- run: npm ci
- run: npm test
name: Run unit tests
- name: Build TypeScript
run: npm run build
- working-directory: ./serverless-test-project
run: npm test
name: Run Serverless Framework packaging test
- working-directory: ./serverless-test-project-alb
name: Run Serverless Framework packaging test for ALB test project
run: npm test
- working-directory: ./serverless-test-project-appsync
name: Run Serverless Framework packaging test for AppSync test project
run: npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-node-${{ matrix.node-version }}
parallel: true
path-to-lcov: .tap/report/lcov.info
if: ${{ matrix.node-version != 18 }} # Node 18 is reporting inaccurate coverage data, so we ignore its report
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
path-to-lcov: .tap/report/lcov.info