aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sumchecker/.github
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2020-12-22 17:49:59 +0530
committerPriyansh <[email protected]>2020-12-22 17:49:59 +0530
commite93da8b04da86773247aadb1cbb1912e4f4526b2 (patch)
treeeb4ef3203a92ed3dbd2252ddb1ea23bd2d670c98 /node_modules/sumchecker/.github
parenta5743c293dcb435e4b159a4df791f8955a4110ec (diff)
downloadstyx-e93da8b04da86773247aadb1cbb1912e4f4526b2.tar.xz
styx-e93da8b04da86773247aadb1cbb1912e4f4526b2.zip
Rewriting Project
Diffstat (limited to 'node_modules/sumchecker/.github')
-rw-r--r--node_modules/sumchecker/.github/FUNDING.yml2
-rw-r--r--node_modules/sumchecker/.github/workflows/ci.yml47
2 files changed, 49 insertions, 0 deletions
diff --git a/node_modules/sumchecker/.github/FUNDING.yml b/node_modules/sumchecker/.github/FUNDING.yml
new file mode 100644
index 0000000..d63c19f
--- /dev/null
+++ b/node_modules/sumchecker/.github/FUNDING.yml
@@ -0,0 +1,2 @@
+github: malept
+tidelift: npm/sumchecker
diff --git a/node_modules/sumchecker/.github/workflows/ci.yml b/node_modules/sumchecker/.github/workflows/ci.yml
new file mode 100644
index 0000000..73e955a
--- /dev/null
+++ b/node_modules/sumchecker/.github/workflows/ci.yml
@@ -0,0 +1,47 @@
+name: CI
+
+on:
+ push:
+ branches:
+ - master
+ tags:
+ - v[0-9]+.[0-9]+.[0-9]+*
+ pull_request:
+
+jobs:
+ test:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [windows-latest, macOS-latest, ubuntu-latest]
+ node-version: [8.x, 10.x, 12.x]
+
+ steps:
+ - name: Fix git checkout line endings
+ run: git config --global core.autocrlf input
+ - uses: actions/checkout@v1
+ - name: Setup Node.js
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Cache node_modules
+ uses: actions/cache@v1
+ with:
+ path: node_modules
+ key: ${{ runner.OS }}-build-${{ hashFiles('**/package.json') }}
+ restore-keys: |
+ ${{ runner.OS }}-build-${{ env.cache-name }}-
+ ${{ runner.OS }}-build-
+ ${{ runner.OS }}-
+ - name: Install
+ run: npm install
+ - name: Lint
+ run: npm run lint
+ - name: Testsuite
+ run: npm run coverage
+ - name: Test TypeScript definition
+ run: npm run tsd
+ - name: Codecov
+ run: npm run codecov
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}