Skip to content

Merge pull request #284 from axa-group/ntk/version #427

Merge pull request #284 from axa-group/ntk/version

Merge pull request #284 from axa-group/ntk/version #427

Workflow file for this run

name: Build & test
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [^18.12, ^20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Yarn install
run: yarn install --frozen-lockfile
- name: Transpile
run: yarn build
- name: Lint and run tests
run: yarn test
- name: Pack
run: npm pack