forked from Galactic/galactic-bot
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
|