diff options
author | RaindropsSys <raindrops@equestria.dev> | 2023-10-24 17:43:37 +0200 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2023-10-24 17:43:37 +0200 |
commit | ae187b6d75c8079da0be1dc288613bad8466fe61 (patch) | |
tree | 5ea0d34185a2270f29ffaa65e1f5258028d7d5d0 /desktop/node_modules/sumchecker/.github | |
download | mist-ae187b6d75c8079da0be1dc288613bad8466fe61.tar.gz mist-ae187b6d75c8079da0be1dc288613bad8466fe61.tar.bz2 mist-ae187b6d75c8079da0be1dc288613bad8466fe61.zip |
Initial commit
Diffstat (limited to 'desktop/node_modules/sumchecker/.github')
-rw-r--r-- | desktop/node_modules/sumchecker/.github/FUNDING.yml | 2 | ||||
-rw-r--r-- | desktop/node_modules/sumchecker/.github/workflows/ci.yml | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/desktop/node_modules/sumchecker/.github/FUNDING.yml b/desktop/node_modules/sumchecker/.github/FUNDING.yml new file mode 100644 index 0000000..d63c19f --- /dev/null +++ b/desktop/node_modules/sumchecker/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: malept +tidelift: npm/sumchecker diff --git a/desktop/node_modules/sumchecker/.github/workflows/ci.yml b/desktop/node_modules/sumchecker/.github/workflows/ci.yml new file mode 100644 index 0000000..73e955a --- /dev/null +++ b/desktop/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 }} |