Skip to content

feat/palette-json-generator-webapp #118

feat/palette-json-generator-webapp

feat/palette-json-generator-webapp #118

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x, 20.x]
runs-on: ${{ matrix.os }}
env:
CI: true
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Versions
run: |
echo Node:
node --version
echo NPM:
npm --version
- name: NPM install (ci)
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test