forked from Galactic/galactic-bot
Define test workflow
This commit is contained in:
parent
9bce163d41
commit
bc467e4dd9
26
.gitea/workflows/Tests.yaml
Normal file
26
.gitea/workflows/Tests.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
- '!master'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
name: Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: latest
|
||||||
|
registry-url: https://registry.corgi.wtf
|
||||||
|
cache: yarn
|
||||||
|
- name: Install deps
|
||||||
|
run: yarn install
|
||||||
|
- name: Lint project
|
||||||
|
run: yarn run eslint src/
|
||||||
|
- name: Build project
|
||||||
|
run: yarn build
|
||||||
|
env:
|
||||||
|
CI: false
|
Loading…
Reference in New Issue
Block a user