Browse Source

add publish workflow

pull/205/head
butlerx 5 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
[ ![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
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
@ -16,7 +14,7 @@ WeTTy can be installed from source or from npm.
To install from source run:
```bash
$ git clone https://github.com/krishnasrinivas/wetty.git
$ git clone https://github.com/butlerx/wetty.git
$ cd wetty
$ yarn
$ yarn build

Loading…
Cancel
Save