build(deps): bump the react-admin group across 5 directories with 5 updates #3617
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: Admin Web - Pull Request | |
on: | |
pull_request: | |
branches: | |
- daily | |
- release/alpha | |
- master | |
paths: | |
- ".github/workflows/**" | |
- "packages/@liexp/**/src/**" | |
- "services/admin-web/**" | |
env: | |
ADMIN_WEB_IMAGE_NAME: liexp-admin-web | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-deps | |
with: | |
hash: ${{ hashFiles('**/pnpm-lock.yaml') }} | |
build-packages: | |
runs-on: ubuntu-latest | |
needs: [install] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-deps | |
with: | |
hash: ${{ hashFiles('**/pnpm-lock.yaml') }} | |
- uses: ./.github/actions/build-packages | |
with: | |
hash: ${{ github.sha }} | |
lint: | |
runs-on: ubuntu-latest | |
needs: [install, build-packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-deps | |
with: | |
hash: ${{ hashFiles('**/pnpm-lock.yaml') }} | |
- uses: ./.github/actions/build-packages | |
with: | |
hash: ${{ github.sha }} | |
- name: Lint code | |
run: pnpm admin-web lint | |
build: | |
runs-on: ubuntu-latest | |
needs: [install, build-packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-deps | |
with: | |
hash: ${{ hashFiles('**/pnpm-lock.yaml') }} | |
- uses: ./.github/actions/build-packages | |
with: | |
hash: ${{ github.sha }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
services/**/build | |
key: admin-web-build | |
- name: Type Check Web | |
run: pnpm admin-web build | |
- name: Build app | |
run: pnpm admin-web build:app | |
docker_build: | |
if: ${{ github.head_ref == 'release/alpha' }} | |
runs-on: ubuntu-latest | |
needs: [install, build-packages, lint, build] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-deps | |
with: | |
hash: ${{ hashFiles('**/pnpm-lock.yaml') }} | |
- name: Log in to registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build WEB image | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: ./adminWeb.Dockerfile | |
push: false | |
tags: ${{ env.ADMIN_WEB_IMAGE_NAME }} | |