Browse Source

add publish workflow

pull/205/head
butlerx 6 years ago
parent
commit
b48d7a6598
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 28
      .github/workflows/publish.yml
  2. 4
      README.md

28
.github/workflows/publish.yml

@ -0,0 +1,28 @@
---
on:
push:
branches:
- master
name: Build and Publish
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup env
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
name: Install dependencies
- name: ESLint checks
uses: gimenete/eslint-action@1.0
- run: yarn build
name: Compile Typescript
- name: Publish
uses: mikeal/merge-release@master
env:
GITHUB_TOKEN: ${{ secrets.node_github_token }}
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

4
README.md

@ -1,7 +1,5 @@
## WeTTy = Web + TTy ## WeTTy = Web + TTy
[ ![Codeship Status for butlerx/wetty](https://app.codeship.com/projects/caf50220-f884-0135-63bd-5231a73eac2d/status?branch=master)](https://app.codeship.com/projects/278281)
Terminal over HTTP and https. WeTTy is an alternative to ajaxterm and anyterm Terminal over HTTP and https. WeTTy is an alternative to ajaxterm and anyterm
but much better than them because WeTTy uses xterm.js which is a full fledged but much better than them because WeTTy uses xterm.js which is a full fledged
implementation of terminal emulation written entirely in JavaScript. WeTTy uses implementation of terminal emulation written entirely in JavaScript. WeTTy uses
@ -16,7 +14,7 @@ WeTTy can be installed from source or from npm.
To install from source run: To install from source run:
```bash ```bash
$ git clone https://github.com/krishnasrinivas/wetty.git $ git clone https://github.com/butlerx/wetty.git
$ cd wetty $ cd wetty
$ yarn $ yarn
$ yarn build $ yarn build

Loading…
Cancel
Save