on:
workflow_call:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
node:
name: Build App
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: https://gitea.com/actions/checkout@v4
- name: Setup Node
uses: https://gitea.com/actions/setup-node@v4
with:
node-version-file: 'package.json'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Check
run: npm run check
- name: Test
run: npm run test
- name: Build
run: npm run build