Skip to content

chore: go mod tidy

chore: go mod tidy #26

Workflow file for this run

name: App
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
defaults:
run:
working-directory: app
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: current
- name: Cache
uses: actions/cache@v2
with:
path: app/.yarn/cache
key: ${{ runner.os }}-app-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-app-yarn-cache-
- name: Install
run: yarn install --immutable
- name: Lint
run: yarn lint
type-check:
name: Type check
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: current
- name: Cache
uses: actions/cache@v2
with:
path: app/.yarn/cache
key: ${{ runner.os }}-app-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-app-yarn-cache-
- name: Install
run: yarn install --immutable
- name: Type check
run: yarn type-check
graphql-check:
name: GraphQL check
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: current
- name: Cache
uses: actions/cache@v2
with:
path: app/.yarn/cache
key: ${{ runner.os }}-app-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-app-yarn-cache-
- name: Install
run: yarn install --immutable
- name: GraphQL check
run: yarn relay --validate