chore(deps): update dependency @typescript-eslint/eslint-plugin to v7 #571
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: Add problem matchers | |
run: | | |
echo '::add-matcher::.github/problem-matchers/tsc.json' | |
- name: Build test image | |
uses: guidojw/actions/build-docker-image@abb0ee8d1336edf73383f2e5a09abd3a22f25b13 # v1.3.3 | |
with: | |
name: app | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: Add problem matchers | |
run: | | |
echo '::add-matcher::.github/problem-matchers/actionlint.json' | |
echo '::add-matcher::.github/problem-matchers/eslint-stylish.json' | |
- name: Download actionlint | |
run: | | |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.23 | |
- name: Load test image | |
uses: guidojw/actions/load-docker-image@abb0ee8d1336edf73383f2e5a09abd3a22f25b13 # v1.3.3 | |
with: | |
name: app | |
- name: Lint | |
run: | | |
EXIT_STATUS=0 | |
./actionlint -ignore 'property "gh_app_private_key" is not defined' -ignore 'SC2153:' \ | |
-ignore 'property "sha" is not defined in object type {}' || EXIT_STATUS=$? | |
docker run app yarn lint || EXIT_STATUS=$? | |
exit $EXIT_STATUS |