chore(deps): update typescript-eslint monorepo to v7.18.0 #420
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: Validate app | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- .github/workflows/validate-app.yml | |
- app/** | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.1.6 | |
- uses: oven-sh/setup-bun@v1.2.2 | |
with: | |
bun-version: 1.0.25 | |
- uses: actions/cache@v4.0.2 | |
id: node-modules-cache | |
with: | |
path: app/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('app/bun.lockb') }} | |
- name: Install app dependencies | |
run: bun install | |
working-directory: app | |
if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
- name: Lint | |
run: bun run lint | |
working-directory: app | |
continue-on-error: true | |
env: | |
UNLEASH_SERVER_API_URL: "https://foo" | |
UNLEASH_SERVER_API_TOKEN: "foo" | |
prettier: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4.1.6 | |
- uses: oven-sh/setup-bun@v1.2.2 | |
with: | |
bun-version: 1.0.25 | |
- uses: actions/cache@v4.0.2 | |
id: node-modules-cache | |
with: | |
path: app/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('app/bun.lockb') }} | |
- name: Install app dependencies | |
run: bun install | |
working-directory: app | |
if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
- name: Prettier | |
run: bunx prettier --check . | |
working-directory: app | |
continue-on-error: true |