Define test workflow

This commit is contained in:
Erik 2024-04-01 13:27:47 +03:00
parent 9bce163d41
commit bc467e4dd9

View 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