forked from fastify/fastify
-
Notifications
You must be signed in to change notification settings - Fork 0
106 lines (103 loc) · 3.17 KB
/
citgm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: CITGM
on:
pull_request:
types: [labeled]
jobs:
core-plugins:
name: CITGM
if: ${{ github.event.label.name == 'citgm-core-plugins' }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
package:
- '@fastify/accepts'
- '@fastify/accepts-serializer'
- '@fastify/any-schema'
- '@fastify/auth'
- '@fastify/autoload'
- '@fastify/awilix'
- '@fastify/aws-lambda'
- '@fastify/basic-auth'
- '@fastify/bearer-auth'
- '@fastify/caching'
- '@fastify/circuit-breaker'
- '@fastify/compress'
- '@fastify/cookie'
- '@fastify/cors'
- '@fastify/csrf-protection'
- '@fastify/diagnostics-channel'
- '@fastify/early-hints'
# - '@fastify/elasticsearch'
- '@fastify/env'
- '@fastify/etag'
- '@fastify/express'
- '@fastify/flash'
- '@fastify/formbody'
- '@fastify/funky'
- '@fastify/helmet'
- '@fastify/hotwire'
- '@fastify/http-proxy'
- '@fastify/jwt'
# - '@fastify/kafka'
- '@fastify/leveldb'
- '@fastify/middie'
# - '@fastify/mongodb'
- '@fastify/multipart'
# - '@fastify/mysql'
- '@fastify/nextjs'
- '@fastify/oauth2'
- '@fastify/one-line-logger'
- '@fastify/passport'
# - '@fastify/postgres'
# - '@fastify/rate-limit'
# - '@fastify/redis'
- '@fastify/reply-from'
- '@fastify/request-context'
- '@fastify/response-validation'
- '@fastify/routes'
- '@fastify/schedule'
- '@fastify/secure-session'
- '@fastify/sensible'
- '@fastify/session'
- '@fastify/soap-client'
- '@fastify/static'
- '@fastify/swagger'
- '@fastify/swagger-ui'
- '@fastify/throttle'
- '@fastify/type-provider-json-schema-to-ts'
- '@fastify/type-provider-typebox'
- '@fastify/under-pressure'
- '@fastify/url-data'
- '@fastify/view'
# - '@fastify/vite'
- '@fastify/websocket'
- '@fastify/zipkin'
node-version: ['20']
os: [ubuntu-latest]
uses: './.github/workflows/citgm-package.yml'
with:
os: ${{ matrix.os }}
package: ${{ matrix.package }}
node-version: ${{ matrix.node-version }}
remove-label:
if: always()
needs:
- core-plugins
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Remove citgm-core-plugins label
uses: octokit/request-action@v2.x
id: remove-label
with:
route: DELETE /repos/{repo}/issues/{issue_number}/labels/{name}
repo: ${{ github.event.pull_request.head.repo.full_name }}
issue_number: ${{ github.event.pull_request.number }}
name: citgm-core-plugins
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo Successfully removed label"
- run: "echo Could not remove label"
if: ${{ failure() }}