Skip to content

Commit

Permalink
chore: audit only latest servers
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Nov 8, 2022
1 parent 8309bc6 commit e538cd1
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 500 deletions.
47 changes: 7 additions & 40 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: express-graphql-report
path: README.md

apollo-server_v4:
apollo-server:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
Expand All @@ -55,40 +55,13 @@ jobs:
- name: Build
run: yarn build:esm
- name: Start
run: yarn workspace apollo-server_v4 start &
run: yarn workspace apollo-server start &
- name: Audit
run: node scripts/audit-implementation.mjs README.md
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: apollo-server_v4-report
path: README.md

apollo-server_v3:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
PORT: 4000
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install
run: yarn install --immutable
- name: Build
run: yarn build:esm
- name: Start
run: yarn workspace apollo-server_v3 start &
- name: Audit
run: node scripts/audit-implementation.mjs README.md
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: apollo-server_v3-report
name: apollo-server-report
path: README.md

mercurius:
Expand Down Expand Up @@ -231,8 +204,7 @@ jobs:
needs:
[
express-graphql,
apollo-server_v4,
apollo-server_v3,
apollo-server,
mercurius,
graphql-yoga,
graphql-helix,
Expand All @@ -249,16 +221,11 @@ jobs:
with:
name: express-graphql-report
path: implementations/express-graphql
- name: Download apollo-server_v3 report
uses: actions/download-artifact@v3
with:
name: apollo-server_v3-report
path: implementations/apollo-server_v3
- name: Download apollo-server_v4 report
- name: Download apollo-server report
uses: actions/download-artifact@v3
with:
name: 'apollo-server_v4-report'
path: implementations/apollo-server_v4
name: 'apollo-server-report'
path: implementations/apollo-server
- name: Download mercurius report
uses: actions/download-artifact@v3
with:
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -729,13 +729,12 @@ Having said this, graphql-http is mostly aimed for library authors and simple se

If you want a feature-full server with bleeding edge technologies, you're recommended to use one of the following.

| Name | Audit |
| ----------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [graphql-yoga](https://www.the-guild.dev/graphql/yoga-server) | [✅ Fully compliant](/implementations/graphql-yoga/README.md) |
| [apollo-server_v3](https://www.apollographql.com/docs/apollo-server/v3) | [✅ Partially compliant](/implementations/apollo-server_v3/README.md) |
| [mercurius](https://mercurius.dev) | [✅ Partially compliant](/implementations/mercurius/README.md) |
| [graphql-helix](https://www.graphql-helix.com/) | [✅ Partially compliant](/implementations/graphql-helix/README.md) |
| [apollo-server_v4](https://www.apollographql.com/docs/apollo-server/) | [⚠️ Not compliant](/implementations/apollo-server_v4/README.md) |
| Name | Audit |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| [graphql-yoga](https://www.the-guild.dev/graphql/yoga-server) | [✅ Fully compliant](/implementations/graphql-yoga/README.md) |
| [mercurius](https://mercurius.dev) | [✅ Partially compliant](/implementations/mercurius/README.md) |
| [graphql-helix](https://www.graphql-helix.com/) | [✅ Partially compliant](/implementations/graphql-helix/README.md) |
| [apollo-server](https://www.apollographql.com/docs/apollo-server/) | [⚠️ Not compliant](/implementations/apollo-server/README.md) |

## [Documentation](docs/)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "apollo-server_v4",
"name": "apollo-server",
"packageManager": "[email protected]",
"main": "index.mjs",
"scripts": {
Expand Down
173 changes: 0 additions & 173 deletions implementations/apollo-server_v3/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions implementations/apollo-server_v3/index.mjs

This file was deleted.

13 changes: 0 additions & 13 deletions implementations/apollo-server_v3/package.json

This file was deleted.

Loading

0 comments on commit e538cd1

Please sign in to comment.