Skip to content

Add sonda for bundle analysis #116

Add sonda for bundle analysis

Add sonda for bundle analysis #116

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request: # for PRs from forks
push:
jobs:
lint:
runs-on: ubuntu-latest
# Skip `pull_request` runs on local PRs for which `push` runs are already triggered
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
steps:
- name: Checkout 🏷️
uses: actions/checkout@v6
- name: Set up Node 🕹️
uses: actions/setup-node@v6
with:
node-version-file: 'package.json'
- name: Install pnpm ⚙️
uses: pnpm/action-setup@v5
- name: Restore cache 📌
uses: actions/cache@v5
with:
path: ~/setup-pnpm/node_modules/.bin/store
key: cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-
- name: Install dependencies ⚙️
run: pnpm install
- name: Lint 🤓
run: pnpm lint