Skip to content

Add PR build and smoke test CI #1

Add PR build and smoke test CI

Add PR build and smoke test CI #1

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build-and-test:
name: Build and smoke test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test