Skip to content

Merge pull request #284 from kkomelin/dependabot/npm_and_yarn/vitest-… #335

Merge pull request #284 from kkomelin/dependabot/npm_and_yarn/vitest-…

Merge pull request #284 from kkomelin/dependabot/npm_and_yarn/vitest-… #335

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test