Skip to content

Update dependency @octokit/graphql-schema to v14.52.0 #2066

Update dependency @octokit/graphql-schema to v14.52.0

Update dependency @octokit/graphql-schema to v14.52.0 #2066

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@v4
- uses: actions/setup-node@v4
with:
node-version: 20
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@v7
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@v7
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@v7
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@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn format
- run: yarn graphql-codegen
- uses: int128/update-generated-files-action@v2