Skip to content

Commit

Permalink
chore: added github action workflow for running the tests (#1)
Browse files Browse the repository at this point in the history
* chore: added github action workflow for running the tests

* chore: added test-passing-badge and removed push from github workflow to run test

* chore: fixed readme.md

---------

Co-authored-by: Ashish Kumar <[email protected]>
  • Loading branch information
dev-ashishk and Ashish Kumar authored Jun 17, 2024
1 parent 9022b5b commit 99f6e82
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Tests

on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![example workflow](https://github.com/nodeflip/nest-env-config/actions/workflows/test.yml/badge.svg)

# 🚀 Nest Environment Configuration Module

## Overview
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodeflip/nest-env-config",
"version": "1.0.1",
"version": "1.0.2",
"description": "An environment configuration module for NestJS that allows for easy configuration using decorators.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 99f6e82

Please sign in to comment.