Skip to content

Merge pull request #26 from headlamp-k8s/app-catalog-mui5 #115

Merge pull request #26 from headlamp-k8s/app-catalog-mui5

Merge pull request #26 from headlamp-k8s/app-catalog-mui5 #115

name: Headlamp plugin linting, type checking, and testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
HEADLAMP_PLUGIN_VERSION: latest
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION format --check .
- run: npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION lint .
- run: npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION build .
- run: npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION test .
- run: npx @kinvolk/headlamp-plugin@$HEADLAMP_PLUGIN_VERSION tsc .