Skip to content

Fixes 2613: React 18/Patternfly 5/Node 18 upgrade #572

Fixes 2613: React 18/Patternfly 5/Node 18 upgrade

Fixes 2613: React 18/Patternfly 5/Node 18 upgrade #572

name: build-test
on:
pull_request:
branches: [ main, prod-beta, prod-stable ]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: npm ci
- name: Tests
run: npm test
- name: Lint
run: npm run lint
- name: Build
run: npm run build --if-present
- uses: actions/cache@v3
id: restore-build
with:
path: ${{ github.workspace }}/dist/*
key: ${{ github.sha }}