Skip to content

chore(deps): update actions/checkout action to v4.1.7 #415

chore(deps): update actions/checkout action to v4.1.7

chore(deps): update actions/checkout action to v4.1.7 #415

Workflow file for this run

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.7
- 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.7
- 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