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

31 lines
640 B
YAML
Raw Permalink Normal View History

2024-07-17 00:26:05 +02:00
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:
2024-07-17 12:40:51 +02:00
node-version-file: 'package.json'
2024-07-17 00:26:05 +02:00
- 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