chore(deps): update typescript-eslint monorepo to v8 (major) #649
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/[email protected] | |
- uses: oven-sh/[email protected] | |
with: | |
bun-version: 1.0.25 | |
- uses: actions/[email protected] | |
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/[email protected] | |
- uses: oven-sh/[email protected] | |
with: | |
bun-version: 1.0.25 | |
- uses: actions/[email protected] | |
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 |