Add total number of pages #440
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: lint backend | |
# On pull request, make a deployment to Preview | |
# On merge into main, make a deployment to Develop | |
# On merge into prod, flag prod, make a deployment to Production | |
on: | |
push: | |
branches: [main, production] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: ./backend | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
working-directory: ${{ env.working-directory }} | |
- name: Lint files and run type-checks | |
run: yarn lint | |
working-directory: ${{ env.working-directory }} |