Skip to content

npm resource on web #195

npm resource on web

npm resource on web #195

Workflow file for this run

name: Make sure it builds
on:
pull_request:
branches: [main]
paths:
- 'apps/**'
- 'packages/**'
- 'package.json'
- 'bun.lock'
- 'bunfig.toml'
- 'tsconfig.json'
- '.prettierrc'
- '.editorconfig'
- 'turbo.json'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
runner:
- depot-ubuntu-24.04
- depot-ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.7'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Type check
run: bun run check:all
- name: Build CLI
run: bun run build:all