diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59caf79..844480d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,22 +1,22 @@ name: Run Tests -on: [push, pull_request] +on: [pull_request] jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '16' + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "16" - - name: Install dependencies - run: npm install + - name: Install dependencies + run: npm install - - name: Run tests - run: npm test + - name: Run tests + run: npm test diff --git a/README.md b/README.md index 7db1891..44d3375 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![example workflow](https://github.com/nodeflip/nest-env-config/.github/workflows/test.yml/badge.svg) + # 🚀 Nest Environment Configuration Module ## Overview