chore(react): Update Dependencies #72
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: Build and Test | |
on: | |
merge_group: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
env: | |
NODE_VERSION: 18 | |
CACHE_KEY: '${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}' | |
jobs: | |
build_angular: | |
name: Build Angular | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
- name: Build Angular | |
uses: ./.github/actions/build | |
with: | |
node: ${{ env.NODE_VERSION }} | |
working_directory: angular | |
config_path: src/app | |
test_cmd: npm run test:ci | |
build_react: | |
name: Build React | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
- name: Build React | |
uses: ./.github/actions/build | |
with: | |
node: ${{ env.NODE_VERSION }} | |
working_directory: react | |
config_path: src | |
build_vue: | |
name: Build Vue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
- name: Build Vue | |
uses: ./.github/actions/build | |
with: | |
node: ${{ env.NODE_VERSION }} | |
working_directory: vue | |
config_path: src |