-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove type system from GraphQL and replace it with type system using the GraphQL.Language nodes. More flexible and remove duplicate code. + Target .NET 6 - Remove msbuild based source generators
- Loading branch information
Showing
575 changed files
with
29,795 additions
and
104,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Build and package | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- release/** | ||
tags: | ||
- v** | ||
pull_request: | ||
branches: [master] | ||
|
||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Build packages | ||
shell: pwsh | ||
run: | | ||
./build.ps1 -Output ./artifacts -CurrentBranch $Env:GITHUB_REF_NAME | ||
- name: Publish build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Packages | ||
path: | | ||
./artifacts/*.nupkg | ||
./artifacts/*.tgz | ||
- name: Publish to nuget | ||
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/') | ||
shell: pwsh | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
run: | | ||
dotnet nuget push "./artifacts/*.nupkg" -k $Env:NUGET_KEY | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Publish beta NPM package | ||
if: github.ref_name == 'master' | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }} | ||
working-directory: ./artifacts/graphql.server.link | ||
run: npm publish --tag beta | ||
|
||
- name: Publish release NPM package | ||
if: startsWith(github.ref, 'refs/tags/') | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }} | ||
working-directory: ./artifacts/graphql.server.link | ||
run: npm publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
mode: ContinuousDeployment | ||
next-version: 3.0 | ||
branches: | ||
master: | ||
tag: beta | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.