Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
animir committed Dec 16, 2023
2 parents 26d549d + fc666f3 commit 5f789a9
Show file tree
Hide file tree
Showing 7 changed files with 757 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

concurrency:
group: test-${{ github.ref }}
Expand All @@ -30,15 +31,21 @@ jobs:
steps:
- name: Checkout repository
uses: actions/[email protected]

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: ./package.json

- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: ${{ matrix.redis-version }}

- name: Start DynamoDB local
uses: rrainn/[email protected]

- run: npm install
- run: npm run test
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const RateLimiterUnion = require('./lib/RateLimiterUnion');
const RateLimiterQueue = require('./lib/RateLimiterQueue');
const BurstyRateLimiter = require('./lib/BurstyRateLimiter');
const RateLimiterRes = require('./lib/RateLimiterRes');
const RateLimiterDynamo = require('./lib/RateLimiterDynamo');

module.exports = {
RateLimiterRedis,
Expand All @@ -26,4 +27,5 @@ module.exports = {
RateLimiterQueue,
BurstyRateLimiter,
RateLimiterRes,
RateLimiterDynamo
};
Loading

0 comments on commit 5f789a9

Please sign in to comment.