mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 04:06:36 +00:00
Update test
This commit is contained in:
9
.github/workflows/linting.yml
vendored
9
.github/workflows/linting.yml
vendored
@@ -26,9 +26,10 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: npm ci
|
||||||
npm ci
|
|
||||||
|
- name: Create build file
|
||||||
|
run: npm run set:oss
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: |
|
run: npx eslint . --ext .js,.jsx,.ts,.tsx
|
||||||
npx eslint . --ext .js,.jsx,.ts,.tsx
|
|
||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -24,10 +24,10 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Create database index.ts
|
- name: Create database index.ts
|
||||||
run: echo 'export * from "./sqlite";' > server/db/index.ts
|
run: npm run set:sqlite
|
||||||
|
|
||||||
- name: Create build file
|
- name: Create build file
|
||||||
run: echo 'export const build = 'oss' as any;' > server/build.ts
|
run: npm run set:oss
|
||||||
|
|
||||||
- name: Generate database migrations
|
- name: Generate database migrations
|
||||||
run: npm run db:sqlite:generate
|
run: npm run db:sqlite:generate
|
||||||
|
|||||||
Reference in New Issue
Block a user