Update dependency typescript to v4.9.5 #5407
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: Tichu main build | |
on: | |
push: | |
branches: [master, reuse-github-workflow-in-frontend-setup] | |
pull_request: | |
# By default, a workflow only runs when a pull_request's activity type is opened, synchronize, or reopened | |
# With types: [opened], we only run on open, so further pushes do not re-trigger, to avoid completely overloading CI | |
# types: [opened] | |
# Unfortunately, manual triggers do not propagate to PR checks :| | |
# TODO: alternatively, we could branches-ignore: [renovate/**] but that would need to be on the push event? | |
branches: [master] | |
# Enable manual triggers: | |
workflow_dispatch: | |
jobs: | |
build-backend: | |
strategy: | |
matrix: | |
java: ["11", "17"] | |
name: Build Backend (Java ${{ matrix.java }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "${{ matrix.java }}" | |
distribution: "temurin" | |
cache: "maven" | |
- name: Backend Build | |
run: ./mvnw clean verify -B -V | |
build-clients: | |
name: Build Clients/Frontend | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tichu-clients | |
# Some of the commands below need this shell setup -- https://github.com/actions/virtual-environments/issues/4#issuecomment-600025775 | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/frontend-setup | |
- name: Frontend Build | |
run: npm run build | |
- name: Frontend Prettier Check | |
run: npm run prettier-check-all | |
# Because there may be bugs hiding here (and testing stories isn't something I'll do today) | |
build-storybook: | |
name: Build Storybook | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tichu-clients | |
# Some of the commands below need this shell setup -- https://github.com/actions/virtual-environments/issues/4#issuecomment-600025775 | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/frontend-setup | |
- name: Storybook Build | |
run: npm run web-build-storybook |