Skip to content

Commit

Permalink
Add node GA
Browse files Browse the repository at this point in the history
  • Loading branch information
pamella committed Jun 11, 2024
1 parent 7d282d1 commit 75378e3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Node CI (django-ai-assistant-client)

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install dependencies
working-directory: ./frontend
run: |
npm install
- name: Run ci
working-directory: ./frontend
run: |
npm ci
- name: Run build
working-directory: ./frontend
run: |
npm run build
- name: Run tests
working-directory: ./frontend
run: |
npm test

0 comments on commit 75378e3

Please sign in to comment.