mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
37 lines
708 B
YAML
37 lines
708 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**/package.json"
|
|
branches:
|
|
- main
|
|
- 3.x
|
|
pull_request:
|
|
paths:
|
|
- "**/package.json"
|
|
branches:
|
|
- main
|
|
- 3.x
|
|
- "!v[0-9]*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-monorepo:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- run: corepack enable
|
|
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
|
with:
|
|
node-version: 20
|
|
cache: "pnpm"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Lint monorepo
|
|
run: pnpm sherif -r multiple-dependency-versions
|