Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: split into multiple jobs #26

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@
#
# SPDX-License-Identifier: Apache-2.0

name: agents CI
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Test and build
reuse:
name: REUSE-3.2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v4
lint:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE-3.2 compliance check
uses: fsfe/reuse-action@v4
- uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -29,5 +33,18 @@ jobs:
run: pnpm lint
- name: Prettier
run: pnpm format:check
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ $ pnpm build
Your output will be in the `dist/` directory.

## License
This project is licensed under `Apache-2.0`, and is [REUSE-3.0](https://reuse.software) compliant. Refer to [the license](LICENSES/Apache-2.0.txt) for details.
This project is licensed under `Apache-2.0`, and is [REUSE-3.2](https://reuse.software) compliant. Refer to [the license](LICENSES/Apache-2.0.txt) for details.
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ SPDX-License-Identifier = "Apache-2.0"

# project configuration files
[[annotations]]
path = ["packages/livekit-rtc/.npmignore", ".prettierrc", ".prettierignore", ".eslintrc", "**.json"]
path = [".prettierrc", ".prettierignore", ".eslintrc", "**.json"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"