This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
fotochallenge/.gitea/workflows/node.yml
Valentin Brandl de73fd1aaf
Some checks failed
Publish / tests (push) Failing after 0s
Publish / Publishing (push) Has been skipped
/ Build App (push) Successful in 49s
Publish docker image
2024-07-17 12:40:51 +02:00

31 lines
640 B
YAML

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