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 517f842
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ 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

- 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 517f842

Please sign in to comment.