diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..64e033f --- /dev/null +++ b/.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 }} diff --git a/README.md b/README.md index 8d53a47..76c607b 100644 --- a/README.md +++ b/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