fix build #5832
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: Lint | |
| on: [push, pull_request] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install modules | |
| run: yarn | |
| - name: Run linter | |
| run: yarn lint:dry | |
| - name: Build project | |
| run: | | |
| set -e # Exit immediately if a command exits with a non-zero status | |
| yarn build | |
| # This ensures that if the build fails, the GitHub Action will also fail |