Skip to content

Commit

Permalink
chore: migrate to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Jan 5, 2024
1 parent 36e23e8 commit 00e5d0b
Show file tree
Hide file tree
Showing 46 changed files with 1,644 additions and 7,085 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run build
- run: npm test

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Run tests
run: npm test
16 changes: 12 additions & 4 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Validate package.json
uses: ExpediaGroup/package-json-validator@v1
Expand All @@ -23,8 +24,15 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Dependencies
run: npm ci

- name: Validate Copyright Headers
run: npm ci && npm run verify:headers
run: npm run verify:headers

- name: Build and Lint
run: |
npm run generate
npm run build:backend
npm run lint
- name: Run ESLint
run: npm ci && npm run build:backend && npm run generate && npm run lint
21 changes: 0 additions & 21 deletions jest.config.ts

This file was deleted.

Loading

0 comments on commit 00e5d0b

Please sign in to comment.