fix: move WPCOM_Liveblog class into its own file #937
Workflow file for this run
This file contains hidden or 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: Run JS linting | |
| on: | |
| # Run on all pushes and on all pull requests. | |
| # Prevent the "push" build from running when there are only irrelevant changes. | |
| push: | |
| paths-ignore: | |
| - "**.md" | |
| pull_request: | |
| # Allow manually triggering the workflow. | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| # Cancels all previous workflow runs for the same branch that have not yet completed. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Run JS linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: "20" | |
| - name: NPM install | |
| run: npm install | |
| - name: Run eslint on React files | |
| run: npm run lint:js | |
| continue-on-error: true | |
| - name: Run stylelint on SCSS files | |
| run: npm run lint:css |