Skip to content

chore(feat): add middleware decorator and change validator trait #31

chore(feat): add middleware decorator and change validator trait

chore(feat): add middleware decorator and change validator trait #31

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- "**"
workflow_call:
secrets:
BOT_TOKEN:
required: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 2
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: .node-version
check-latest: true
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NPM_CONFIG_USERCONFIG: .ci.npmrc
GH_PKG_AUTH_TOKEN: ${{ secrets.BOT_TOKEN }}
- name: Run compose script if exists
run: pnpm run --if-present compose
- name: Lint code
run: pnpm run lint