Automated PR: staging to main #712
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: on-pr | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'reopened', 'synchronize'] | |
env: | |
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: yarn install | |
- name: Lint | |
run: yarn lint | |
types: | |
runs-on: ubuntu-latest | |
name: Types | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: yarn install | |
- name: TypeCheck | |
run: yarn check:ts | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build NextJS | |
run: NEXT_PUBLIC_ENVIRONMENT=main yarn build |