test: update tests-core.yml to check that there aren't needed updates… #106
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: "Linter: parsefiles" | |
| on: | |
| push: | |
| pull_request: | |
| paths: | |
| - 'parsefiles/**' | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| tests: | |
| if: github.repository == 'cutenode/nodevu' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: current | |
| - name: Run npm install -w parsefiles | |
| run: npm install -w parsefiles | |
| - name: Run npm run lint -w parsefiles | |
| run: npm run lint -w parsefiles |