Skip to content

Commit 5955666

Browse files
committed
test new matrix workflow
1 parent 4cec853 commit 5955666

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
node: [18, 16]
15+
node: [22, 20]
1616
platform: [ubuntu-latest, macos-latest, windows-latest]
1717
runs-on: ${{ matrix.platform }}
1818
steps:
1919
- name: setup node
20-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
2323
- name: checkout

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
# Setup .npmrc file to publish to npm
12-
- uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: '16.x'
14+
node-version: '22.x'
1515
registry-url: 'https://registry.npmjs.org'
1616
- run: npm install
1717
- run: npm run test

packages/graphql-zeus-core/TreeToTS/templates/shared/primitive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ describe('TypeScript primitive generation', () => {
2323
});
2424
test('for GraphQL ID type', () => {
2525
const primitive = toTypeScriptPrimitive('ID');
26-
expect(primitive).toEqual('string');
26+
expect(primitive).toEqual(`GraphQLTypes["ID"]`);
2727
});
2828
});

0 commit comments

Comments
 (0)