chore(sagaRouter): upgrade path-to-regexp
#6691
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR lint | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
deployments: read | |
pull-requests: write # needed to annotate code | |
statuses: write | |
checks: write | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 | |
with: | |
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Use Node.js | |
uses: ./.github/actions/setup-node | |
- name: Install | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: eslint + stylelint | |
continue-on-error: true | |
id: eslint | |
run: yarn lint | |
- name: Merge lint | |
run: yarn lint-merge-report master ${GITHUB_HEAD_REF} | |
- name: Annotate Code Linting Results | |
uses: ataylorme/eslint-annotate-action@d57a1193d4c59cbfbf3f86c271f42612f9dbd9e9 #v3.0.0 | |
with: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: ./eslint-report.json |