Skip to content

feat: add new custom configuration for routes #65

feat: add new custom configuration for routes

feat: add new custom configuration for routes #65

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
commitlint:
name: Commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check commit message
uses: wagoid/commitlint-github-action@v6
with:
configFile: commitlint.config.cjs
failOnWarnings: false
helpURL: https://github.com/ducktors/turborepo-remote-cache#how-to-commit
build:
runs-on: ubuntu-latest
name: Build
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install with npm
run: npm install
- name: Lint code
run: npm run lint
- name: Build
run: npm run build
test:
runs-on: ubuntu-latest
name: Test
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install with npm
run: npm install
- name: Test
run: npm run test