-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: export and store graphql schema + nextjs caching
- Loading branch information
1 parent
3b93b6e
commit 02df5f3
Showing
6 changed files
with
64 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
name: "🔺️ " | ||
author: "PHILLIPS71" | ||
|
||
runs: | ||
using: "composite" | ||
|
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,19 @@ | ||
name: "📄 " | ||
|
||
inputs: | ||
working-directory: | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: "📄 Build GraphQL Schema" | ||
run: dotnet run -- schema export --output schema.graphql | ||
working-directory: ${{ inputs.working-directory }} | ||
|
||
- name: "📄 Upload GraphQL Schema" | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: schema-${{ github.run_number }}.graphql | ||
path: ${{ inputs.working-directory }}/schema.graphql | ||
retention-days: 1 |
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,5 +1,4 @@ | ||
name: "💽️ " | ||
author: "PHILLIPS71" | ||
|
||
inputs: | ||
node-version: | ||
|
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 |
---|---|---|
|
@@ -2,8 +2,6 @@ name: "📝 PR Title" | |
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
main: | ||
|
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