Merge pull request #4 from CS3219-AY2324S1/deployment-init #2
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: Build and Lint frontend | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: yarn install | |
working-directory: frontend | |
- run: yarn build | |
working-directory: frontend | |
- run: yarn lint | |
working-directory: frontend |