Cleanup / remove Hasura and Upgrade Directus #506
Workflow file for this run
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: MF App CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install packages | |
run: yarn --immutable | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: Typechecking | |
run: yarn typecheck | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: Linting | |
run: yarn lint | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: Testing | |
run: yarn test | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider | |
build: | |
name: Web Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install packages | |
run: yarn --immutable | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: Build NextJS App | |
run: yarn build | |
env: | |
CI: true | |
NODE_OPTIONS: --openssl-legacy-provider |