Skip to content

Merge pull request #215 from oozcitak/chore/dependencies #257

Merge pull request #215 from oozcitak/chore/dependencies

Merge pull request #215 from oozcitak/chore/dependencies #257

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
node: [ '22', '24' ]
steps:
- uses: actions/checkout@v5
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
- run: npm run cover
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5