Skip to content

feat: global layer exclusivity #1748

feat: global layer exclusivity

feat: global layer exclusivity #1748

Workflow file for this run

name: Check linting
on:
pull_request:
branches:
- "main"
- "**/main"
- "!release-please*"
types:
- opened
- reopened
- synchronize
jobs:
check-linting:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Cache node_modules 📦
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies 👨🏻‍💻
run: npm ci --prefer-offline --no-audit
- name: Run linting check 👀
run: npm run lint:all