Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillick committed Dec 27, 2024
2 parents 82aca26 + 2e37046 commit f050c62
Show file tree
Hide file tree
Showing 6 changed files with 825 additions and 3,977 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-require-imports': 'warn',
'@typescript-eslint/no-unused-vars': [ 'error',
{ caughtErrors: 'none' }
]
}
};
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ updates:
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "daily"
# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,24 @@ The subscription string that Redis will receive will be `comments.added.graphql-
This subscription string is much more specific and means the the filtering required for this type of subscription is not needed anymore.
This is one step towards lifting the load off of the GraphQL API server regarding subscriptions.

## Publishing New Versions

This package uses GitHub Actions for automated publishing. To publish a new version:

1. Go to the GitHub repository
2. Click "Releases" in the right sidebar
3. Click "Draft a new release"
4. Choose or create a new tag (e.g., v2.7.1)
5. Fill in the release title and description
6. Click "Publish release"

The GitHub Action will automatically:
- Run tests
- Build the package
- Publish to npm with provenance

You can verify the published version on [npm](https://www.npmjs.com/package/graphql-redis-subscriptions).

## Tests

### Spin a Redis in docker server and cluster
Expand Down
Loading

0 comments on commit f050c62

Please sign in to comment.