Skip to content

v0.06

v0.06 #31

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
# Step 1: Print a message indicating the workflow has started
- name: Start Workflow
run: echo "🚀 CI Workflow has been triggered for a push or pull request to the main branch!"
# Step 2: Checkout the code
- name: Checkout repository
uses: actions/checkout@v3
# Step 3: Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18" # Use the Node.js version you're targeting
# Step 4: Install dependencies
- name: Install dependencies
run: npm install
# Step 5: Build the project
- name: Build the project
run: npm run build
# Step 6: Run tests
# - name: Run tests
# run: npm run test