mirror of
https://github.com/p-stream/docs.git
synced 2026-01-11 20:10:34 +00:00
Merge branch 'master' into migrate-to-guider
This commit is contained in:
commit
f5e222ca6f
1 changed files with 32 additions and 0 deletions
32
.github/workflows/linting.yml
vendored
Normal file
32
.github/workflows/linting.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Linting and Testing
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
linting:
|
||||
name: Run Linters
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 8
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install pnpm packages
|
||||
run: pnpm install
|
||||
|
||||
- name: Run ESLint
|
||||
run: pnpm run lint
|
||||
Loading…
Reference in a new issue