feat: implement follow and unfollow functionality #18
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: Prebuild check and build | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build-frontend: | |
name: Build frontend | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.10.0 | |
- name: Install modules | |
run: npm install | |
- name: Run ESLint and Prettier | |
run: npm run check-format && npm run check-lint | |
- name: Build NextJS project | |
run: npm run build |