Skip to content

refactor: remove support to fastify 3 and eslint #18

refactor: remove support to fastify 3 and eslint

refactor: remove support to fastify 3 and eslint #18

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
merge_group:
env:
PNPM_VERSION: 10.4.1
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: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
- name: Install with pnpm
run: pnpm install
- name: Build
run: pnpm build
test:
runs-on: ubuntu-latest
name: Test
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
- name: Install
run: pnpm install
- name: Test
run: pnpm test