Skip to content

CosmicJesterX/.github-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Pipeline for GitHub Workflows

This repository contains GitHub Actions workflows designed to automate tasks such as building, testing, and deploying code changes. Example Workflow

Below is an example of a CI pipeline defined in this repository: YAML

name: CI Pipeline

on: push: branches: - main

jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v3

  - name: Setup Node.js
    uses: actions/setup-node@v3
    with:
      node-version: '18.x'

  - name: Install Dependencies
    run: npm install

  - name: Run Tests
    run: npm test

Usage

Copy the workflow example above into your repository under .github/workflows/ci-pipeline.yml.
Adjust the node-version or other steps as needed for your project.
Push changes to the main branch, and the workflow will automatically trigger.

Dependencies

GitHub Actions: Ensure your repository has Actions enabled.
Node.js: The workflow uses Node.js version 18.x for the build and test steps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published