From 40277c392bfb1dfb5991790079fd08632c33ff79 Mon Sep 17 00:00:00 2001 From: Taly Date: Fri, 6 May 2022 19:34:27 +0300 Subject: [PATCH] Update fetch-the-editor-upgrade.yml --- .../workflows/fetch-the-editor-upgrade.yml | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fetch-the-editor-upgrade.yml b/.github/workflows/fetch-the-editor-upgrade.yml index 08682c7b..45d26ab2 100644 --- a/.github/workflows/fetch-the-editor-upgrade.yml +++ b/.github/workflows/fetch-the-editor-upgrade.yml @@ -13,15 +13,29 @@ jobs: with: fetch-depth: 0 + - name: Use Node.js 15 + uses: actions/setup-node@v1 + with: + node-version: 15 + + - name: Make envfile with Hawk token + uses: ozaytsev86/create-env-file@v1 + with: + file-name: './www/.env' + ENV_HAWK_TOKEN: ${{ secrets.HAWK_TOKEN }} + - name: Go to app dir, Install Node.js packages, Pull Editor's packages - run: cd www && yarn editor-upgrade + run: cd www && yarn editor-upgrade && yarn build - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: commit-message: Upgrade Editor and Tools - committer: github-actions - author: github-actions + committer: github-actions <41898282+github-actions[bot]@users.noreply.github.com> + author: github-actions <41898282+github-actions[bot]@users.noreply.github.com> branch: pull-the-latest-editor-and-tools delete-branch: true - title: "Pull the latest Editor and Tools" + title: "Upgrade Editor.js and Tools" + body: | + Auto-generated PR for pulling the latest Editor and Tools +