Skip to content

Commit

Permalink
[feat] Added ci for publish npm directly
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemkosk committed Nov 5, 2023
1 parent e6e630c commit d6cee60
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Auto Publish

on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

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

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ Envolve aims to address these issues by providing a streamlined solution:

5. **Comparison**: Envolve can compare two .env files and highlight the differences, making it easier to identify changes in your configuration.

## Installation

Install envolve with npm

```bash
npm install -g envolve
```


## Commands

- `ls`: **LIST** environment variables in an .env file for a specific service. Select a service and view its environment variables.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "tsc && npm run serve",
"test": "jest --forceExit --verbose --detectOpenHandles --coverage --coverageReporters=text-summary"
},
"keywords": [],
"keywords": ["cli","environment-variable","env", "cli-app", "cli-tool","env-vars", "env-file" ],
"author": "",
"license": "ISC",
"dependencies": {
Expand Down

0 comments on commit d6cee60

Please sign in to comment.