Skip to content

Update eslint to v6.7.2 (#728) #1771

Update eslint to v6.7.2 (#728)

Update eslint to v6.7.2 (#728) #1771

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@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@v4
- 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