Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit 2ebd497

Browse files
committed
Add CI
1 parent e348abd commit 2ebd497

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

Diff for: .github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @prelude-music/maintainers

Diff for: .github/dependabot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
day: "monday"
13+
time: "06:00"
14+
reviewers:
15+
- "prelude-music/maintainers"

Diff for: .github/workflows/build.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
on:
3+
pull_request:
4+
types: [ opened, synchronize, reopened ]
5+
push:
6+
branches:
7+
- "main"
8+
jobs:
9+
build:
10+
name: "Build with Node.js v${{ matrix.node }}"
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
node:
16+
- 20
17+
steps:
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: "${{ matrix.node }}"
21+
- uses: actions/checkout@v4
22+
- name: "Cache node_modules"
23+
uses: actions/cache@v4
24+
with:
25+
path: ~/.npm
26+
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package.json') }}
27+
restore-keys: |
28+
${{ runner.os }}-node-v${{ matrix.node }}-
29+
- name: Install Dependencies
30+
run: npm install
31+
- name: Build
32+
run: npm run build

0 commit comments

Comments
 (0)