Skip to content

chore(format): add endOfLine rule to prettier configuration #175

chore(format): add endOfLine rule to prettier configuration

chore(format): add endOfLine rule to prettier configuration #175

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
validate:
name: βœ… Validate project
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: ⬇️ Checkout project
uses: actions/checkout@v3
- name: 🟒 Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: πŸ“₯ Install dependencies
run: npm ci
- name: πŸ–οΈ Check types
run: npm run check:types
- name: πŸ’… Check format
run: npm run check:format
- name: πŸ“‘ Check lint
run: npm run check:lint
- name: 🌐 Check html
run: npm run check:html
- name: πŸ’„ Check scss
run: npm run check:scss
- name: πŸ”‘ Check i18n
run: npm run check:i18n
- name: πŸ”€ Check spelling
run: npm run check:spelling
test:
name: πŸ§‘β€πŸ”¬ Test project
runs-on: ubuntu-latest
needs: validate
strategy:
matrix:
node-version: [18.x]
steps:
- name: ⬇️ Checkout project
uses: actions/checkout@v3
- name: 🟒 Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: πŸ“₯ Install dependencies
run: npm ci
- name: πŸ§ͺ Run the tests
run: npm run test:coverage
build:
name: 🧰 Build project
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
node-version: [18.x]
steps:
- name: ⬇️ Checkout project
uses: actions/checkout@v3
- name: 🟒 Setup NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: πŸ“₯ Install dependencies
run: npm ci
- name: βš’οΈ Build project in SSR mode
run: npm run build:ssr:prod