Skip to content

build(deps): bump dompurify from 3.3.2 to 3.4.1 in /docs #628

build(deps): bump dompurify from 3.3.2 to 3.4.1 in /docs

build(deps): bump dompurify from 3.3.2 to 3.4.1 in /docs #628

name: Build and Lint
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build-and-lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Check formatting
run: npx prettier --check "src/**/*.ts"
- name: Run tests
run: npm run test
- name: Build
run: npm run build