Skip to content

Use pnpm instead of Bun #41

Use pnpm instead of Bun

Use pnpm instead of Bun #41

Workflow file for this run

# SPDX-FileCopyrightText: 2024 LiveKit, Inc.
#
# SPDX-License-Identifier: Apache-2.0
name: agents CI
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE-3.0 compliance check
uses: fsfe/reuse-action@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: ESLint
run: |
cd agents
pnpm lint
cd ../plugins/elevenlabs
pnpm lint
build:
name: Build
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: pnpm build
run: |
cd agents
pnpm build
cd ../plugins/elevenlabs
pnpm build