deps(deps): update chromaui/action digest to 1fc59b1 #497
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: frontend-checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: {} | |
jobs: | |
orval-validation: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dtm-database-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
with: | |
package_json_file: ./dtm-database-frontend/package.json | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run orval | |
run: pnpm -F web orval | |
- name: Check difference | |
run: git diff --exit-code | |
run-deps-check: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dtm-database-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
with: | |
package_json_file: ./dtm-database-frontend/package.json | |
- name: Install dependencies | |
run: pnpm install | |
- name: Check dependencies | |
run: pnpm manypkg check | |
run-format: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dtm-database-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
with: | |
package_json_file: ./dtm-database-frontend/package.json | |
- name: Install dependencies | |
run: pnpm install | |
- name: Format | |
run: pnpm format:check | |
run-lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dtm-database-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
with: | |
package_json_file: ./dtm-database-frontend/package.json | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm lint | |
run-chromatic: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./dtm-database-frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 | |
with: | |
package_json_file: ./dtm-database-frontend/package.json | |
- name: Install dependencies | |
run: pnpm install | |
- name: Publish to Chromatic | |
uses: chromaui/action@06f68a0a8fd2674557ff95a98832cc599036baed # v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
workingDir: ./dtm-database-frontend/apps/stories |