Skip to content

Commit e538cd1

Browse files
committed
chore: audit only latest servers
1 parent 8309bc6 commit e538cd1

File tree

9 files changed

+25
-500
lines changed

9 files changed

+25
-500
lines changed

.github/workflows/audits.yml

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: express-graphql-report
3838
path: README.md
3939

40-
apollo-server_v4:
40+
apollo-server:
4141
runs-on: ubuntu-latest
4242
if: "!contains(github.event.head_commit.message, '[skip ci]')"
4343
env:
@@ -55,40 +55,13 @@ jobs:
5555
- name: Build
5656
run: yarn build:esm
5757
- name: Start
58-
run: yarn workspace apollo-server_v4 start &
58+
run: yarn workspace apollo-server start &
5959
- name: Audit
6060
run: node scripts/audit-implementation.mjs README.md
6161
- name: Upload report
6262
uses: actions/upload-artifact@v3
6363
with:
64-
name: apollo-server_v4-report
65-
path: README.md
66-
67-
apollo-server_v3:
68-
runs-on: ubuntu-latest
69-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
70-
env:
71-
PORT: 4000
72-
steps:
73-
- name: Checkout
74-
uses: actions/checkout@v3
75-
- name: Set up node
76-
uses: actions/setup-node@v3
77-
with:
78-
node-version: 18
79-
cache: yarn
80-
- name: Install
81-
run: yarn install --immutable
82-
- name: Build
83-
run: yarn build:esm
84-
- name: Start
85-
run: yarn workspace apollo-server_v3 start &
86-
- name: Audit
87-
run: node scripts/audit-implementation.mjs README.md
88-
- name: Upload report
89-
uses: actions/upload-artifact@v3
90-
with:
91-
name: apollo-server_v3-report
64+
name: apollo-server-report
9265
path: README.md
9366

9467
mercurius:
@@ -231,8 +204,7 @@ jobs:
231204
needs:
232205
[
233206
express-graphql,
234-
apollo-server_v4,
235-
apollo-server_v3,
207+
apollo-server,
236208
mercurius,
237209
graphql-yoga,
238210
graphql-helix,
@@ -249,16 +221,11 @@ jobs:
249221
with:
250222
name: express-graphql-report
251223
path: implementations/express-graphql
252-
- name: Download apollo-server_v3 report
253-
uses: actions/download-artifact@v3
254-
with:
255-
name: apollo-server_v3-report
256-
path: implementations/apollo-server_v3
257-
- name: Download apollo-server_v4 report
224+
- name: Download apollo-server report
258225
uses: actions/download-artifact@v3
259226
with:
260-
name: 'apollo-server_v4-report'
261-
path: implementations/apollo-server_v4
227+
name: 'apollo-server-report'
228+
path: implementations/apollo-server
262229
- name: Download mercurius report
263230
uses: actions/download-artifact@v3
264231
with:

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -729,13 +729,12 @@ Having said this, graphql-http is mostly aimed for library authors and simple se
729729

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

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

740739
## [Documentation](docs/)
741740

File renamed without changes.

implementations/apollo-server_v4/package.json renamed to implementations/apollo-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"name": "apollo-server_v4",
3+
"name": "apollo-server",
44
"packageManager": "[email protected]",
55
"main": "index.mjs",
66
"scripts": {

implementations/apollo-server_v3/README.md

Lines changed: 0 additions & 173 deletions
This file was deleted.

implementations/apollo-server_v3/index.mjs

Lines changed: 0 additions & 20 deletions
This file was deleted.

implementations/apollo-server_v3/package.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)