File tree Expand file tree Collapse file tree 5 files changed +7
-12
lines changed Expand file tree Collapse file tree 5 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
npmTag : alpha
22
22
buildScript : build
23
- nodeVersion : 18
23
+ nodeVersion : 22
24
24
secrets :
25
25
githubToken : ${{ secrets.GUILD_BOT_TOKEN }}
26
26
npmToken : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 12
12
uses : the-guild-org/shared-config/.github/workflows/release-stable.yml@main
13
13
with :
14
14
releaseScript : release
15
- nodeVersion : 18
15
+ nodeVersion : 22
16
16
secrets :
17
17
githubToken : ${{ secrets.GUILD_BOT_TOKEN }}
18
18
npmToken : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,12 +22,11 @@ jobs:
22
22
- name : Setup env
23
23
uses : the-guild-org/shared-config/setup@main
24
24
with :
25
- nodeVersion : 18
25
+ nodeVersion : 22
26
26
27
27
- name : Prettier Check
28
28
run : yarn prettier:check
29
29
lint :
30
- needs : [prettier-check]
31
30
name : Lint
32
31
uses : the-guild-org/shared-config/.github/workflows/lint.yml@main
33
32
with :
36
35
githubToken : ${{ secrets.GITHUB_TOKEN }}
37
36
38
37
build :
39
- needs : [lint]
40
38
name : Type Check on GraphQL v${{matrix.graphql_version}}
41
39
runs-on : ubuntu-latest
42
40
strategy :
52
50
- name : Setup env
53
51
uses : the-guild-org/shared-config/setup@main
54
52
with :
55
- nodeVersion : 18
53
+ nodeVersion : 22
56
54
57
55
- name : Use GraphQL v${{matrix.graphql_version}}
58
56
run : node ./scripts/match-graphql.js ${{matrix.graphql_version}}
61
59
- name : Type Check
62
60
run : yarn ts:check
63
61
test_esm :
64
- needs : [build]
65
62
name : ESM Test
66
63
runs-on : ubuntu-latest
67
64
steps :
@@ -71,14 +68,13 @@ jobs:
71
68
- name : Setup env
72
69
uses : the-guild-org/shared-config/setup@main
73
70
with :
74
- nodeVersion : 18
71
+ nodeVersion : 22
75
72
76
73
- name : Build Packages
77
74
run : yarn build
78
75
- name : Test ESM and CJS integrity
79
76
run : yarn bob check
80
77
test :
81
- needs : [test_esm]
82
78
name :
83
79
Unit Test on Node ${{matrix.node-version}} (${{matrix.os}}) and GraphQL
84
80
v${{matrix.graphql_version}}
@@ -129,7 +125,6 @@ jobs:
129
125
command : yarn test:leaks --ci
130
126
131
127
test_browser :
132
- needs : [test]
133
128
name : Browser Test
134
129
runs-on : ubuntu-latest
135
130
steps :
Original file line number Diff line number Diff line change 21
21
- uses : the-guild-org/shared-config/setup@main
22
22
name : setup env
23
23
with :
24
- nodeVersion : 18
24
+ nodeVersion : 22
25
25
packageManager : yarn
26
26
27
27
- uses : the-guild-org/shared-config/website-cf@main
Original file line number Diff line number Diff line change 1
- import { isPromise } from '../src/jsutils.js' ;
2
1
import { MaybePromise } from './executor.js' ;
2
+ import { isPromise } from './jsutils.js' ;
3
3
4
4
export function mapMaybePromise < T , R > (
5
5
value : MaybePromise < T > ,
You can’t perform that action at this time.
0 commit comments