Epic: new mobile app (move to monorepo) #1
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: Run Lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- apps/mobile/** | |
- packages/store/** | |
pull_request: | |
paths: | |
- apps/mobile/** | |
- packages/store/** | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
# Set up Node.js | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22.11.0' # jod | |
cache: 'yarn' | |
# Install dependencies | |
- name: Install dependencies | |
run: yarn install --immutable | |
# Run tests with coverage | |
- name: Run lint | |
run: | | |
yarn workspace @safe-global/mobile run lint |