Skip to content

Commit

Permalink
Merge 4fab210 into 587a22b
Browse files Browse the repository at this point in the history
  • Loading branch information
kutyel committed Oct 25, 2021
2 parents 587a22b + 4fab210 commit 53be080
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 3,508 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,35 @@
on: ["push", "pull_request"]
name: CI Build
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Read .nvmrc
run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NVMRC }}

- name: NPM
run: |
npm prune
npm install
npm run cover
npm run check-coverage
npm run build
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
lts/fermium
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

7 changes: 1 addition & 6 deletions package.json
Expand Up @@ -8,16 +8,13 @@
"types": "dist/src/index.d.ts",
"scripts": {
"build": "tsc",
"check-coverage": "nyc check-coverage --statements 98 --branches 90 --functions 96 --lines 99",
"check-coverage": "nyc check-coverage --statements 100 --branches 97 --functions 98 --lines 100",
"commit": "git-cz",
"cover": "nyc --require esm --reporter=lcov npm t",
"docs": "typedoc --out ../docs/ src/index.ts -m commonjs -t ES6",
"nyan": "ava --tap | tap-nyan",
"prebuild": "rimraf dist",
"pretty": "prettier src/*.ts --write",
"report-coverage": "nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release",
"start": "microbundle watch",
"test": "tsc && nyc ava",
"validate": "npm run cover && npm run check-coverage"
},
Expand Down Expand Up @@ -49,14 +46,12 @@
"all-contributors-cli": "^6.20.0",
"ava": "^0.25.0",
"commitizen": "^3.1.1",
"coveralls": "^3.0.1",
"cz-conventional-changelog": "^2.1.0",
"esm": "^3.2.25",
"ghooks": "^2.0.4",
"nyc": "^12.0.2",
"prettier": "^1.13.7",
"rimraf": "^2.6.2",
"semantic-release": "^15.13.16",
"tap-nyan": "^1.1.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
@@ -1,6 +1,6 @@
# LinQ for TypeScript

[![Build](https://img.shields.io/travis/kutyel/linq.ts/master.svg)](https://travis-ci.org/kutyel/linq.ts)
[![Build](https://github.com/kutyel/linq.ts/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/kutyel/linq.ts/actions/workflows/main.yml)
[![Dependencies](https://img.shields.io/david/kutyel/linq.ts.svg)](https://david-dm.org/kutyel/linq.ts)
[![Coverage Status](https://coveralls.io/repos/github/kutyel/linq.ts/badge.svg?branch=master)](https://coveralls.io/github/kutyel/linq.ts?branch=master)
[![Downloads](https://img.shields.io/npm/dm/linqts.svg)](https://npmjs.com/package/linqts)
Expand Down

0 comments on commit 53be080

Please sign in to comment.