Skip to content

fix(release): guard awk against missing CHANGELOG, fix npm ci without… #5

fix(release): guard awk against missing CHANGELOG, fix npm ci without…

fix(release): guard awk against missing CHANGELOG, fix npm ci without… #5

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
- run: if [ -f package-lock.json ]; then npm ci; else npm install; fi
- run: npm run build
- run: npm test