Skip to content

ci(cicd): implement ci-cd strategy #2

ci(cicd): implement ci-cd strategy

ci(cicd): implement ci-cd strategy #2

Workflow file for this run

name: CI
on: [pull_request]
concurrency:
group: ci-${{ github.event.pull_request.title }}
cancel-in-progress: true
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run test
lint-styles:
name: Lint Styles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run lint
lint-commits:
name: Lint Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5