Skip to content

Rewrite: cleaned up the entire project + added compatibility for gram… #9

Rewrite: cleaned up the entire project + added compatibility for gram…

Rewrite: cleaned up the entire project + added compatibility for gram… #9

Workflow file for this run

name: Test and Build
on:
push:
branches:
- main
- 'rc/**'
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:8-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: 2.9.5
cache: true
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
package-manager-cache: false
- name: Configure JSR npm bridge
run: echo '@jsr:registry=https://npm.jsr.io' >> "$HOME/.npmrc"
- name: Install dependencies
run: deno install --frozen
- name: Run release checks
run: npm run release:check
- name: Run real Redis integration tests
env:
RATELIMITER_REDIS_URL: redis://127.0.0.1:6379
run: deno task test:redis