Skip to content

Update eslint to v7.3.1 #1678

Update eslint to v7.3.1

Update eslint to v7.3.1 #1678

Workflow file for this run

name: ts
on:
pull_request:
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/ts.yaml
push:
branches:
- main
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/ts.yaml
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm test
- run: pnpm build
- name: e2e-test (diff)
id: diff
uses: ./
with:
base: tests/fixtures/base
head: tests/fixtures/head
label: changed
update-if-exists: replace
- run: test ${{ steps.diff.outputs.different }} = true
- name: e2e-test (no-diff)
id: no-diff
uses: ./
with:
base: tests/fixtures/head
head: tests/fixtures/head
label: changed
update-if-exists: replace
- run: test ${{ steps.no-diff.outputs.different }} = false
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm lint --fix
- run: pnpm format
- uses: int128/update-generated-files-action@0c31bff4a68c9a6f4ac83dd528bf45f77620f191 # v2.50.0