Skip to content

Commit

Permalink
Merge branch 'main' into feature/10
Browse files Browse the repository at this point in the history
  • Loading branch information
BusschaertTanguy authored Oct 16, 2024
2 parents c809b03 + fe61422 commit 0f43897
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/nodejs-empty.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: frontend-admin-pr

on:
pull_request:
branches:
- "main"
paths-ignore:
- "frontend/admin/**"

jobs:
frontend-admin-pr-build:
runs-on: ubuntu-latest
steps:
- run: 'echo "No frontend admin build required"'
34 changes: 34 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: frontend-admin-pr

on:
pull_request:
branches:
- "main"
paths:
- "frontend/admin/**"

jobs:
frontend-admin-pr-build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./frontend/admin"
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
cache: 'npm'
cache-dependency-path: './frontend/admin/package-lock.json'

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install packages
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint

0 comments on commit 0f43897

Please sign in to comment.