Skip to content

Update dependency @octokit/graphql-schema to v14.27.3 (#711) #1730

Update dependency @octokit/graphql-schema to v14.27.3 (#711)

Update dependency @octokit/graphql-schema to v14.27.3 (#711) #1730

Workflow file for this run

name: ts
on:
push:
branches: [main]
paths:
- src/**
- tests/**
- '*.json'
- action.yaml
- .github/workflows/ts.yaml
pull_request:
branches: [main]
paths:
- src/**
- tests/**
- '*.json'
- action.yaml
- .github/workflows/ts.yaml
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- run: yarn
- run: yarn lint
- run: yarn format-check
- run: yarn test
- run: yarn build
- run: yarn package
- if: github.event_name == 'pull_request'
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `👋 e2e-test`
})
- name: test the default behavior
uses: ./
- if: github.event_name == 'pull_request'
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `👋 e2e-test\n<!-- tail -->`
})
- if: github.event_name == 'pull_request'
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `<!-- head -->\n👋 e2e-test`
})
- name: test with options
uses: ./
with:
ends-with: |
<!-- tail -->
starts-with: |
<!-- head -->
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- run: yarn
- run: yarn format
- run: yarn graphql-codegen
- uses: int128/update-generated-files-action@v2