added gitignore, and cleaned repo, swapped to pnpm and updated actions

This commit is contained in:
Luke Hagar
2025-08-13 11:20:46 -05:00
parent a42b708dd0
commit 5b157f060a
10000 changed files with 27 additions and 1284899 deletions

View File

@@ -17,16 +17,21 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Check formatting
run: npm run format:check
run: pnpm run format:check
- name: Run linter
run: npm run lint -- --max-warnings 0
run: pnpm run lint -- --max-warnings 0
continue-on-error: true
test:
@@ -43,13 +48,18 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Run unit tests
run: npm run test:unit
run: pnpm run test:unit
- name: Run integration tests
run: npm run test:integration
run: pnpm run test:integration

View File

@@ -26,15 +26,21 @@ jobs:
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Run tests
run: npm test
run: pnpm test
- name: Build
run: npm run build
run: pnpm run build
- name: Determine publish necessity
id: check