Skip to content

Commit

Permalink
Merge remote-tracking branch 'starter/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
linhntaim committed Nov 3, 2023
1 parent f3ffd78 commit 041b53c
Show file tree
Hide file tree
Showing 8 changed files with 551 additions and 740 deletions.
7 changes: 7 additions & 0 deletions .coveralls.yml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
service_name: $CI_NAME
service_job_id: $CI_JOB_ID
service_build_url: $CI_BUILD_URL
service_branch: $CI_BRANCH
service_pull_request: $CI_PULL_REQUEST

repo_token: $COVERALLS_REPO_TOKEN
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build
run-name: ${{ github.actor }} is making a build
on:
push:
branches:
- master
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Information
run: |
echo "Node.js"
node -v
echo "npm"
npm -v
- name: Install
run: npm ci
- name: Test
run: |
npm test
mkdir coverage
npm run test:report > coverage/test.lcov
- name: Publish test result to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ lerna-debug.log*
*.sw?

# Test results
.coveralls.yml
.nyc_output
coverage

Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ lerna-debug.log*

# Test results
.nyc_output
.coveralls.yml
coverage

# Common
Expand All @@ -41,6 +42,8 @@ babel.config.*
.nycrc
.nycrc.*
nyc.config.js
.coveralls.yml.example
.travis.yml
.github
/tests
/src
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# dotenv-conversion

[![NPM version](https://img.shields.io/npm/v/dotenv-conversion.svg?style=flat-square)](https://www.npmjs.com/package/dotenv-conversion)
[![Travis (.org)](https://img.shields.io/travis/com/linhntaim/dotenv-conversion?style=flat-square)](https://app.travis-ci.com/github/linhntaim/dotenv-conversion)
[![Coveralls github](https://img.shields.io/coveralls/github/linhntaim/dotenv-conversion?style=flat-square)](https://coveralls.io/github/linhntaim/dotenv-conversion)
[![NPM](https://img.shields.io/npm/l/dotenv-conversion?style=flat-square)](https://github.com/linhntaim/dotenv-conversion/blob/master/LICENSE)
[![Github Actions](https://img.shields.io/github/actions/workflow/status/linhntaim/dotenv-conversion/build.yml?style=flat-square)](https://github.com/linhntaim/dotenv-conversion/actions/workflows/build.yml)
[![Coveralls](https://img.shields.io/coveralls/github/linhntaim/dotenv-conversion?style=flat-square)](https://coveralls.io/github/linhntaim/dotenv-conversion)
[![License](https://img.shields.io/npm/l/dotenv-conversion?style=flat-square)](https://github.com/linhntaim/dotenv-conversion/blob/master/LICENSE)

`dotenv-conversion` adds variable conversion on top of `dotenv`. If you find yourself
needing to convert/transform environment variables to anything more useful than strings,
Expand Down
Loading

0 comments on commit 041b53c

Please sign in to comment.