Skip to content
Open
Show file tree
Hide file tree
Changes from 5 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
50 changes: 50 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
Expand All @@ -41,6 +42,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- uses: actions/download-artifact@v4
with:
Expand All @@ -49,6 +51,51 @@ jobs:
- run: npx playwright install
- run: npm test

test-memory-browser:
needs: build
runs-on: ubuntu-latest

timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- run: npm run test:memory:browser

test-memory:
needs: build
strategy:
matrix:
node-version: [18.x, 19.x, 20.x, 21.x]
os: [ ubuntu-latest, macos-latest, windows-latest ]

runs-on: ${{ matrix.os }}

timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- run: npm run test:memory:node

benchmark:
needs: build
strategy:
Expand All @@ -71,6 +118,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -101,6 +149,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'

- name: npm install and lint
run: |
Expand All @@ -116,6 +165,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- uses: actions/download-artifact@v4
with:
Expand Down
247 changes: 247 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading