2022-05-10 20:52:20 +02:00

29 lines
652 B
YAML

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies 📦
run: yarn
- name: Lint 🎨
run: yarn run lint
- name: Flow types 🏷
run: yarn run flow
- name: Tests ✅
run: yarn run test
- name: Gitmojis validation 😜
run: yarn run validate:gitmojis