diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 0811022b..e46a06c9 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -30,7 +30,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: 12 - registry-url: 'https://registry.npmjs.org' + registry-url: "https://registry.npmjs.org" # Run install dependencies - name: Install dependencies @@ -45,14 +45,14 @@ jobs: uses: GabrielBB/xvfb-action@v1.0 with: run: yarn coveralls - + # Run Coveralls - name: Coveralls uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Publish + + - name: Publish if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/master'}} run: yarn publish --tag next --no-git-tag-version --prepatch --preid "$(git rev-parse --short HEAD)" env: @@ -60,18 +60,18 @@ jobs: # Setup QEMU as requirement for docker - name: Set up QEMU - if: ${{ success() && runner.os == 'Linux'}} + if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/master'}} uses: docker/setup-qemu-action@v1 - + # Setup DockerBuildx as requirement for docker - name: Set up Docker Buildx - if: ${{ success() && runner.os == 'Linux'}} + if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/master'}} uses: docker/setup-buildx-action@v1 # Login to Quay - name: Login to Quay - if: ${{ success() && runner.os == 'Linux'}} - uses: docker/login-action@v1 + if: ${{ success() && runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/master'}} + uses: docker/login-action@v1 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} diff --git a/README.md b/README.md index c7316333..b34f7117 100755 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ This repository only contains the server implementation. Here are some known cli ```bash $ yarn run build ``` -5. The new built server is now location in out/server/src/server.js. +5. The new built server is now located in ./out/server/src/server.js. ```bash node (Yaml Language Server Location)/out/server/src/server.js [--stdio] ```