mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
29 lines
652 B
YAML
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
|