Skip to content

Update ci.yml to trigger on PRs and enhance naming #39

Update ci.yml to trigger on PRs and enhance naming

Update ci.yml to trigger on PRs and enhance naming #39

Workflow file for this run

name: Build and Test Workflow
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Generate Documentation
run: npm run docs:code
env:
NODE_OPTIONS: --max-old-space-size=4096
NO_COLOR: true