Erik
2c58d15c49
\+ License and copyright attribution \+ Readme \+ JSDoc comments \+ Link to repo in help command \* Refactor poll command \* Attempted fix for dangling child process \* Reduce unnecessary db calls in moderation manager Reviewed-on: #12
26 lines
540 B
YAML
26 lines
540 B
YAML
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 |