Skip to content

Commit

Permalink
Merge pull request #1 from TomPenguin/feature/add-backoff
Browse files Browse the repository at this point in the history
Add backoff with request
  • Loading branch information
TomPenguin authored Feb 16, 2024
2 parents 8fcd439 + 285f498 commit 8e7d481
Show file tree
Hide file tree
Showing 9 changed files with 866 additions and 2,897 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
unit-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
12 changes: 0 additions & 12 deletions jest.config.js

This file was deleted.

9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --minify --sourcemap",
"prepublishOnly": "pnpm run build",
"test": "jest"
"test": "vitest"
},
"repository": {
"type": "git",
Expand All @@ -41,14 +41,11 @@
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^20.5.9",
"esbuild-jest": "^0.5.0",
"jest": "^29.6.4",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"ts-jest-resolver": "^2.0.1",
"tsup": "^7.2.0"
"tsup": "^7.2.0",
"vitest": "^1.2.2"
},
"dependencies": {
"@notionhq/client": "^2.2.12",
Expand Down
Loading

0 comments on commit 8e7d481

Please sign in to comment.