Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- main
pull_request:
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: '16'

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test

- name: Build the application
run: npm run build
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Simple Workflow

# Trigger this workflow on pushes to the 'main' branch
on:
push:
branches:
- main

jobs:
run-basic-script:
runs-on: ubuntu-latest # Use the latest Ubuntu runner

steps:
# Step 1: Check out the code from the repository
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Run a custom script
- name: Run a script
run: echo "Hello, GitHub Actions!"