feat: fastjson2 for serialization of GraphQLResponse and deserializat… #204
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
name: Publish Latest Docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'website/**' | |
jobs: | |
publish-docs: | |
permissions: | |
contents: write | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
if: github.repository == 'ExpediaGroup/graphql-kotlin' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('website/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Build website | |
run: | | |
cd website | |
npm install | |
npm run build | |
- name: Deploy GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./website/build | |
user_name: eg-oss-ci | |
user_email: [email protected] |