Skip to content

Merge branch 'main' into dependabot/npm_and_yarn/frontend/mobile/reac… #272

Merge branch 'main' into dependabot/npm_and_yarn/frontend/mobile/reac…

Merge branch 'main' into dependabot/npm_and_yarn/frontend/mobile/reac… #272

Workflow file for this run

name: Web
permissions: read-all
on:
push:
paths:
- frontend/web/**
- .github/workflows/web.yml
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
cache-dependency-path: frontend/web/yarn.lock
- name: Install dependencies
run: |
cd frontend/web
yarn install
- name: Format
run: |
cd frontend/web
yarn format
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
cache-dependency-path: frontend/web/yarn.lock
- name: Install dependencies
run: |
cd frontend/web
yarn install
- name: Lint
run: |
cd frontend/web
yarn lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
cache-dependency-path: frontend/web/yarn.lock
- name: Install dependencies
run: |
cd frontend/web
yarn install
- name: Test
run: |
cd frontend/web
yarn test