Skip to content

Merge pull request #359 from tkskto/develop #101

Merge pull request #359 from tkskto/develop

Merge pull request #359 from tkskto/develop #101

Workflow file for this run

# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
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 }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true