mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 03:55:37 +01:00
27 lines
572 B
YAML
27 lines
572 B
YAML
name: Node.js CI
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
DATABASE_URL: "postgresql://user:pass@localhost:5432/dummy"
|
|
SKIP_DB_CHECK: 1
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository == 'umami-software/umami'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: latest
|
|
- name: Use Node.js 24
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 24
|
|
cache: pnpm
|
|
- run: npm install --global pnpm
|
|
- run: pnpm install
|
|
- run: pnpm test
|
|
- run: pnpm build
|