Update main branch #15
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