Skip to content

dep: bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.59.2 #525

dep: bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.59.2

dep: bump @typescript-eslint/eslint-plugin from 5.51.0 to 5.59.2 #525

name: Test GitHub GraphQL API - Mutation
on: push
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Get the sources
uses: actions/checkout@v3
- name: Execute a dummy mutation
id: mutation
uses: ./
with:
headers: '{"Authorization": "bearer ${{ secrets.TOKEN }}" }'
graphql: |
mutation addRocketEmoji($reaction:AddReactionInput!) {
addReaction(input:$reaction) {
reaction {
content
}
subject {
id
}
}
}
variables: |
{
"reaction": {
"subjectId":"${{ secrets.ISSUE_ID }}",
"content":"ROCKET"
}
}
- name: Print the response status
run: echo ${{ steps.mutation.outputs.status }}
shell: bash
- name: Print the response headers
run: echo ${{ steps.mutation.outputs.headers }}
shell: bash
- name: Print the response payload
run: echo ${{ steps.mutation.outputs.response }}
shell: bash
- name: see the emoji! 🚀
run: echo "https://github.com/CamiloGarciaLaRotta/watermelon-http-client/issues/1"
shell: bash