Skip to content

Merge pull request #1221 from NicoPennec/fix/status-automations #125

Merge pull request #1221 from NicoPennec/fix/status-automations

Merge pull request #1221 from NicoPennec/fix/status-automations #125

Workflow file for this run

---
name: 'Kitsu CI'
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
ci:
name: Test with Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Run tests
env:
NODE_OPTIONS: '--max_old_space_size=8192'
run: |
echo "Node.js $(node -v)"
echo "npm v$(npm -v)"
npm ci
npm run lint -- --quiet
npm run test:unit