Skip to content

Commit

Permalink
upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Feb 5, 2020
1 parent 7339e25 commit 4340113
Show file tree
Hide file tree
Showing 5 changed files with 499 additions and 261 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node.js CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 11.x
- run: yarn
- name: Push changed files
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git checkout yarn.lock
git add .
git diff-index --quiet HEAD || git commit -m "Update changed files" --no-verify
git push
- run: yarn test
- name: Coveralls
run: "([ -s ./coverage/lcov.info ] && yarn add coveralls && cat ./coverage/lcov.info | yarn coveralls) || true"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
COVERALLS_GIT_COMMIT: ${{ github.sha }}
COVERALLS_GIT_BRANCH: ${{ github.ref }}
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tasks:
- init: yarn && yarn prepublishOnly
- init: yarn

vscode:
extensions:
Expand Down
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"repository": "dword-design/dotenv",
"license": "MIT",
"author": "Sebastian Landwehr <info@dword-design.de>",
"main": "dist/index.js",
"files": [
"dist"
],
"main": "dist/index.js",
"scripts": {
"prepublishOnly": "base build",
"start": "base start",
"depgraph": "base depgraph",
"prepare": "base prepare",
"prepublishOnly": "base prepublishOnly",
"test": "base test"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 4340113

Please sign in to comment.