Skip to content

Commit 5c51e37

Browse files
authored
Merge pull request #130 from enure/build-use-vite
build: use vite and vitest
2 parents 5ae15bf + 72bd376 commit 5c51e37

14 files changed

+1867
-11671
lines changed

.changeset/popular-spiders-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"odata-query": patch
3+
---
4+
5+
build: Use vite and vitest

.changeset/rotten-ears-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"odata-query": major
3+
---
4+
5+
breaking: Remove CommonJS support (ESM only)

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41
name: CI
52

63
on:
@@ -20,10 +17,16 @@ jobs:
2017

2118
steps:
2219
- uses: actions/checkout@v4
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v4
20+
- uses: pnpm/action-setup@v4.0.0
21+
- uses: actions/setup-node@v4
2522
with:
2623
node-version: ${{ matrix.node-version }}
27-
- run: npm ci
28-
- run: npm run build --if-present
29-
- run: npm test
24+
cache: pnpm
25+
26+
- run: pnpm install --frozen-lockfile
27+
28+
- run: pnpm test
29+
env:
30+
CI: true
31+
32+
- run: pnpm build

jest.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)