Update only the modified lines and not the whole file when editor is changed #1126
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: Phoenix build verification | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-tasks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: setup node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| - name: Npm Install | |
| run: | | |
| npm ci | |
| - name: eslint using npm run eslint | |
| run: | | |
| npm run lint | |
| - name: building Phoenix with npm run build | |
| run: | | |
| npm run build |