Skip to content

Commit

Permalink
fix: update readme and add new testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
baumgm94 committed Mar 28, 2023
1 parent bbca828 commit f8fcd25
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 30 deletions.
16 changes: 0 additions & 16 deletions .appveyor.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ on:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 10
- run: npm i
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test

on:
push:
branches:
- "**"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 10
- run: npm i
- run: npm run build
- run: npm test
- run: npm lint
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
Annotate your model and generate an elasticsearch index template.

[![Build Status](https://travis-ci.org/smartive/es-model.svg)](https://travis-ci.org/smartive/es-model)
[![Build Status](https://ci.appveyor.com/api/projects/status/7m14ruqjaopwbfn4?svg=true)](https://ci.appveyor.com/project/buehler/es-model)
[![npm](https://img.shields.io/npm/v/@smartive/es-model.svg?maxAge=3600)](https://www.npmjs.com/package/@smartive/es-model)
[![Coverage status](https://img.shields.io/coveralls/smartive/es-model.svg?maxAge=3600)](https://coveralls.io/github/smartive/es-model)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Greenkeeper badge](https://badges.greenkeeper.io/smartive/es-model.svg)](https://greenkeeper.io/)

Expand Down

0 comments on commit f8fcd25

Please sign in to comment.