Computer scienceSystem administration and DevOpsCI/CD processesGitHub Actions

Introduction to GitHub actions

Identify from YAML file

Report a typo

name: node

on:
  pull_request:
    branches: ["staging"]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v2
      - name: Use Node.js 14.x
        uses: actions/setup-node@v1
        with:
          node-version: 14.x

Match the corresponding key value with the help of the YAML file.

Match the items from left and right columns
Workflow Name
Virtual machine the job runs on
Event
Name of step 1
Name of step 2
Ubuntu
checkout
node
Use Node.js 14.x
Pull request
___

Create a free account to access the full topic