Skip to content

ci: Update build and test job #29

ci: Update build and test job

ci: Update build and test job #29

name: Build and test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-lts
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run build --if-present
- run: npm test