Skip to content

ci: add prd pipelines #45

ci: add prd pipelines

ci: add prd pipelines #45

Workflow file for this run

name: Code validation
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
lint:
name: Code linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run lint:ci
build:
name: Projects building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run build