Add Forgejo actions workflow

This commit is contained in:
Kevin Kandlbinder 2023-04-06 17:23:16 +02:00
parent c2500c85e7
commit 0c3e194a53
Signed by: kevin
GPG key ID: 1460B586646E180D

View file

@ -0,0 +1,20 @@
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Lint app
run: yarn lint
- name: Check app
run: yarn check
- name: Build app
run: yarn build