Add Forgejo actions workflow
This commit is contained in:
parent
c2500c85e7
commit
0c3e194a53
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/build.yaml
Normal file
20
.forgejo/workflows/build.yaml
Normal 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
|
Loading…
Add table
Reference in a new issue