Skip to content

ci: Add node 20 and 22 to ci matrix #302

ci: Add node 20 and 22 to ci matrix

ci: Add node 20 and 22 to ci matrix #302

Workflow file for this run

name: Node.js CI
on: [push]
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 }}
- run: npm ci
- run: npm run lint:ci
- run: npm run build
- run: npm run test
env:
CI: true
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build docker image
run: docker build -t relekang/graphql-rss-parser:${{ github.sha }} .