Skip to content

Merge pull request #1025 from teamhanko/hanko-cloud-video-tutorial #934

Merge pull request #1025 from teamhanko/hanko-cloud-video-tutorial

Merge pull request #1025 from teamhanko/hanko-cloud-video-tutorial #934

name: build-frontend
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: v18.14.2
- name: Install dependencies
working-directory: ./frontend
run: npm ci
- name: Build
working-directory: ./frontend
run: npm run build
- name: Run tests
working-directory: ./frontend
run: npm test