From f6fa9ae08726cfd6d0f244cdcffee5781fd02b7a Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Wed, 11 Nov 2020 14:13:43 +0100 Subject: [PATCH] re enable build step --- .github/workflows/{main.yml => build.yml} | 72 +++++++++++------------ 1 file changed, 36 insertions(+), 36 deletions(-) rename .github/workflows/{main.yml => build.yml} (69%) diff --git a/.github/workflows/main.yml b/.github/workflows/build.yml similarity index 69% rename from .github/workflows/main.yml rename to .github/workflows/build.yml index 2d653322c..7e18b8b11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/build.yml @@ -110,49 +110,49 @@ jobs: channel: '#tiptap-notifications' if: failure() - # build: - # runs-on: ubuntu-latest + build: + runs-on: ubuntu-latest - # needs: lint + needs: lint - # env: - # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - # strategy: - # matrix: - # node-version: [14] + strategy: + matrix: + node-version: [14] - # steps: + steps: - # - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v2.3.4 - # - name: Use Node.js ${{ matrix.node-version }} - # uses: actions/setup-node@v2.1.2 - # with: - # node-version: ${{ matrix.node-version }} + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2.1.2 + with: + node-version: ${{ matrix.node-version }} - # - name: Load cached dependencies - # uses: actions/cache@v2 - # id: cache - # with: - # path: | - # **/node_modules - # /home/runner/.cache/Cypress - # key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} + - name: Load cached dependencies + uses: actions/cache@v2 + id: cache + with: + path: | + **/node_modules + /home/runner/.cache/Cypress + key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} - # - name: Install dependencies - # id: install-dependencies - # if: steps.cache.outputs.cache-hit != 'true' - # run: yarn install + - name: Install dependencies + id: install-dependencies + if: steps.cache.outputs.cache-hit != 'true' + run: yarn install - # - name: Build packages dependencies - # id: build-packages - # run: yarn build:packages + - name: Try to build the packages + id: build-packages + run: yarn build:ci - # - name: Send Slack notifications - # uses: act10ns/slack@v1 - # with: - # status: ${{ job.status }} - # steps: ${{ toJson(steps) }} - # channel: '#tiptap-notifications' - # if: failure() + - name: Send Slack notifications + uses: act10ns/slack@v1 + with: + status: ${{ job.status }} + steps: ${{ toJson(steps) }} + channel: '#tiptap-notifications' + if: failure()