fix(deps): update material-ui monorepo to v6.4.0 #615
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: CI | |
on: | |
push: | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: read | |
env: | |
GO_VERSION: 1.23.2 | |
PNPM_VERSION: 9.15.4 | |
NODE_VERSION: 20.9.0 | |
jobs: | |
filter: | |
runs-on: ubuntu-latest | |
outputs: | |
frontend: ${{ steps.filter.outputs.frontend }} | |
spec: ${{ steps.filter.outputs.spec }} | |
example: ${{ steps.filter.outputs.example }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
frontend: | |
- "frontend/**" | |
- ".github/workflows/ci.yaml" | |
spec: | |
- "spec/**" | |
- ".github/workflows/ci.yaml" | |
example: | |
- "example/**" | |
- ".github/workflows/ci.yaml" | |
go-test: | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: auth | |
ports: | |
- 5432:5432 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-server | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: go test ./... | |
go-generate: | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: auth | |
ports: | |
- 5432:5432 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-server | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: go generate ./... | |
- name: Check diff | |
run: git diff --exit-code | |
go-fmt: | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: auth | |
ports: | |
- 5432:5432 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-server | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Check format | |
run: go fmt ./... | |
go-build-test: | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: auth | |
ports: | |
- 5432:5432 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-server | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Build test | |
run: go build cmd/main.go | |
front-lint: | |
runs-on: ubuntu-latest | |
needs: filter | |
if: ${{ needs.filter.outputs.frontend == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION}} | |
package_json_file: "frontend/package.json" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "pnpm" | |
cache-dependency-path: "spec/package.json" | |
- run: cd frontend && pnpm install | |
- name: Prettier && ESLint | |
run: cd frontend && if pnpm lint-check |& grep -E "(error|warn)"; then exit 1; fi | |
front-build-test: | |
runs-on: ubuntu-latest | |
needs: filter | |
if: ${{ needs.filter.outputs.frontend == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION}} | |
package_json_file: "frontend/package.json" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "pnpm" | |
cache-dependency-path: "spec/package.json" | |
- run: cd frontend && pnpm install | |
- name: Build Test | |
run: cd frontend && pnpm build | |
# front-test: | |
# runs-on: ubuntu-latest | |
# needs: filter | |
# if: ${{ needs.filter.outputs.frontend == 'true' }} | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: pnpm/action-setup@v4 | |
# with: | |
# version: ${{ env.PNPM_VERSION}} | |
# - uses: actions/setup-node@v4 | |
# with: | |
# node-version: ${{ env.NODE_VERSION }} | |
# cache: "pnpm" | |
# - run: cd frontend && pnpm install | |
# - run: cd frontend && pnpm test | |
spec-lint: | |
runs-on: ubuntu-latest | |
needs: filter | |
if: ${{ needs.filter.outputs.spec == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION}} | |
package_json_file: "spec/package.json" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "pnpm" | |
cache-dependency-path: "spec/package.json" | |
- run: cd spec && pnpm install | |
- name: Prettier && ESLint | |
run: cd spec && pnpm lint-check | |
example-lint: | |
runs-on: ubuntu-latest | |
needs: filter | |
if: ${{ needs.filter.outputs.example == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION}} | |
package_json_file: "example/package.json" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "pnpm" | |
cache-dependency-path: "spec/package.json" | |
- run: cd example && pnpm install | |
- name: Prettier && ESLint | |
run: cd example && if pnpm lint-check |& grep -E "(error|warn)"; then exit 1; fi | |
example-build-test: | |
runs-on: ubuntu-latest | |
needs: filter | |
if: ${{ needs.filter.outputs.example == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION}} | |
package_json_file: "example/package.json" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "pnpm" | |
cache-dependency-path: "spec/package.json" | |
- run: cd example && pnpm install | |
- name: Build Test | |
run: cd example && pnpm build | |