Skip to content

Dyn 9702 template files support #433

Dyn 9702 template files support

Dyn 9702 template files support #433

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build
on:
push:
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci --force
- name: Build
run: npm run build --if-present
- name: Unit Tests
run: npm run test:unit
- name: Install Browser
run: npx playwright install chromium --with-deps
- name: E2E tests
run: npm run test:e2e
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@6c1aa0cc9e1c02f9f58f01ac599f1064ccc83470 # v1.1.0
with:
ref: v1.16
- name: Code Coverage Report
uses: zgosalvez/github-actions-report-lcov@7d72c57ce4bc101a4a0bf9d726b6c435abde8439 # v7.0.10
with:
coverage-files: coverage/lcov.info
# minimum-coverage: 50
github-token: ${{ secrets.DYNAMO_ACTIONS_TOKEN }}