Skip to content

chore: OpenShift

chore: OpenShift #17

Workflow file for this run

name: gateway
on:
workflow_dispatch:
push:
paths:
- 'packages/gateway/**'
branches:
- main
tags:
- "v*.*.*"
pull_request:
paths:
- 'packages/gateway/**'
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
name: Check Lint and Prettier
defaults:
run:
working-directory: packages/gateway
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: NPM Install
run: npm install
shell: bash
- name: Lint
run: npm run lint
- name: Prettier
run: npm run prettier
build:
runs-on: ubuntu-latest
name: Build Code
defaults:
run:
working-directory: packages/gateway
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: NPM Install
run: npm install
shell: bash
- name: Build
run: npm run build