Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run Tests on Pull Request

# Trigger the workflow on a pull request event
on:
pull_request:
branches:
- main # or whatever branch you're targeting for PRs

jobs:
test:
runs-on: ubuntu-latest # Specifies the environment where the action will run

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

# Step 2: Set up Node.js environment (specify your Node.js version)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "22" # or the version you need

# Step 3: Install dependencies using npm
- name: Install dependencies
run: npm ci

# Step 4: Run tests
- name: Run tests
run: npm run test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @objectwow/join

Join object to object like Database join
Join object to object like MongoDB

## Use case

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@objectwow/join",
"version": "0.1.4",
"version": "0.1.5",
"license": "MIT",
"description": "Join object to object like Database join",
"description": "Join object to object like MongoDB",
"publishConfig": {
"access": "public"
},
Expand Down