-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(template): update project template from ahmadnassri/template-node-lib
- Loading branch information
Ahmad Nassri
committed
Aug 7, 2020
1 parent
aebf323
commit b9a9271
Showing
10 changed files
with
32 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ updates: | |
directory: / | ||
schedule: | ||
interval: daily | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,16 @@ on: | |
- master | ||
|
||
jobs: | ||
dependencies: | ||
audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
|
||
# run checks | ||
- run: npm audit --audit-level=moderate | ||
|
||
test: | ||
needs: dependencies | ||
needs: audit | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -28,17 +26,15 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: client-${{ hashFiles('**/package-lock.json') }} | ||
key: ${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
# run test | ||
- run: npm ci | ||
- run: npm run test | ||
|
||
|
@@ -49,9 +45,7 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: semantic-release | ||
uses: ahmadnassri/action-semantic-release@v1 | ||
- uses: ahmadnassri/action-semantic-release@v1 | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,16 @@ on: | |
- master | ||
|
||
jobs: | ||
dependencies: | ||
audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
|
||
# run checks | ||
- run: npm audit --audit-level=moderate | ||
|
||
test: | ||
needs: dependencies | ||
needs: audit | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -28,16 +26,14 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: client-${{ hashFiles('**/package-lock.json') }} | ||
key: ${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
# run test | ||
- run: npm ci | ||
- run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2.0 | ||
|
||
id: oas-request | ||
|
||
about: | ||
title: OpenAPI Spec HTTP Client | ||
description: Feed it a JSON Spec, it will spit out a lightweight HTTP client! | ||
repository: ahmadnassri/node-oas-request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"version": "0.0.0-semantically-released", | ||
"name": "oas-request", | ||
"description": "OAS 3.x dynamic request client", | ||
"description": "Feed it a JSON Spec, it will spit out a lightweight HTTP client!", | ||
"author": "Ahmad Nassri <[email protected]> (https://www.ahmadnassri.com)", | ||
"homepage": "https://github.com/ahmadnassri/node-oas-request", | ||
"repository": { | ||
|
@@ -30,6 +30,5 @@ | |
"devDependencies": { | ||
"sinon": "^9.0.2", | ||
"tap": "^14.10.8" | ||
}, | ||
"dependencies": {} | ||
} | ||
} |