Skip to content

Merge pull request #18 from illia-stv/illia-stv-patch-10 #35

Merge pull request #18 from illia-stv/illia-stv-patch-10

Merge pull request #18 from illia-stv/illia-stv-patch-10 #35

Workflow file for this run

name: Node.js CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn' # Use yarn cache instead of npm
- run: yarn install # Use yarn to install dependencies
- run: yarn test # Run tests with yarn