Update dependency eslint-plugin-storybook to v0.10.2 #1874
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: code check on pull requests | |
on: | |
pull_request: | |
# refs https://github.com/ArtiomTr/jest-coverage-report-action#forks-with-no-write-permission | |
pull_request_target: | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
cache: npm | |
- run: npm ci | |
- run: npm run lint -- -f stylish | |
- run: npm run test -- --passWithNoTests | |
- run: npm run type-check | |
- uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-script: npm run test:ci -- --passWithNoTests --testLocationInResults --json --outputFile=report.json |