Skip to content

Commit

Permalink
👷 Add CI checks for frontend building
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed May 2, 2024
1 parent 6e55a75 commit 7997cf7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ on:
workflow_dispatch:

jobs:
build-js:
runs-on: ubuntu-latest
name: Compile the frontend code

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'js/.nvmrc'
cache: npm
cache-dependency-path: js/package-lock.json

- name: Build TS
run: |
npm ci
npm run build
npm run build:django-static
working-directory: js

tests:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 7997cf7

Please sign in to comment.