mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-18 15:35:26 +02:00
34 lines
704 B
YAML
34 lines
704 B
YAML
name: Test Workflow
|
|
|
|
on:
|
|
- push
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [ 16.x ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3.4.1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Install yarn
|
|
run: npm install -g yarn
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
|
|
- name: Run Linter 👀
|
|
run: yarn run lint
|
|
- name: Check Prettier 💅
|
|
run: yarn run format
|
|
- name: Check Types 📝
|
|
run: yarn run typecheck
|
|
- name: Try build 🏗
|
|
run: yarn run build
|