Skip to content
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
10 changes: 8 additions & 2 deletions .github/workflows/lint.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint & Type Check
name: CI

on:
pull_request:
Expand All @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -19,6 +19,9 @@ jobs:
- name: Setup Nix
uses: ./.github/actions/setup-nix

- name: Initialise Nix environment
run: nix develop --command true

- name: Run Lint
run: nix develop --command pnpm run lint

Expand All @@ -27,3 +30,6 @@ jobs:

- name: Run Build
run: nix develop --command pnpm run build

- name: Run Tests
run: nix develop --command pnpm test
23 changes: 0 additions & 23 deletions .github/workflows/test.yaml

This file was deleted.

7 changes: 5 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
shellHook = ''
echo "StackOne AI Node SDK development environment"

# Install dependencies using lockfile
pnpm install --lockfile
# Install dependencies only if node_modules/.pnpm/lock.yaml is older than pnpm-lock.yaml
if [ ! -f node_modules/.pnpm/lock.yaml ] || [ pnpm-lock.yaml -nt node_modules/.pnpm/lock.yaml ]; then
echo "📦 Installing dependencies..."
pnpm install --frozen-lockfile
fi
'';
};
}
Expand Down
Loading