-
Book Overview & Buying
-
Table Of Contents
Full Stack Quarkus and React
By :
GitHub Actions pipelines or workflows are defined through YAML files that contain one or more jobs that are triggered by a set of specific git or GitHub events. The workflow YAML files must be located within the .github/workflows directory, so we’ll start by creating this directory:
Figure 14.5 – A screenshot of the IntelliJ New Directory dialog
Next, we can create the YAML file that will hold our workflow. For this purpose, we’ll create a new file called build-and-test.yaml in the .github/workflows directory. You can find the full source code for the pipeline at https://github.com/PacktPublishing/Full-Stack-Development-with-Quarkus-and-React/tree/main/chapter-14/.github/workflows/build-and-test.yaml. Now, let’s analyze the most relevant parts:
name: Build and Test
name will be used to identify the workflow when referenced from the GitHub repository UI. You should always provide a descriptive...