Skip to content

[pull] main from expo:main #5475

[pull] main from expo:main

[pull] main from expo:main #5475

name: Native Component List app
on:
workflow_dispatch: {}
pull_request:
paths:
- .github/workflows/native-component-list.yml
- apps/native-component-list/**
- packages/**
- pnpm-lock.yaml
- '!packages/@expo/cli/**'
push:
branches: [main]
paths:
- .github/workflows/native-component-list.yml
- apps/native-component-list/**
- packages/**
- pnpm-lock.yaml
- '!packages/@expo/cli/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: 👀 Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: 🔨 Install pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
with:
version: 10
- name: ⬢ Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache: 'pnpm'
- name: 📦 Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile
- name: 🛠 Compile NCL sources
run: pnpm tsc
working-directory: apps/native-component-list
- name: 🚨 Lint NCL app
run: pnpm lint --max-warnings 0
working-directory: apps/native-component-list
- name: 🔔 Notify on Slack
uses: ./.github/actions/slack-notify
if: failure() && (github.event.ref == 'refs/heads/main') && github.repository == 'expo/expo'
with:
webhook: ${{ secrets.slack_webhook_api }}
author_name: Build Native Component List