Skip to content

Commit 40277c3

Browse files
committed
Update fetch-the-editor-upgrade.yml
1 parent dd3a5a2 commit 40277c3

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/fetch-the-editor-upgrade.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,29 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515

16+
- name: Use Node.js 15
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 15
20+
21+
- name: Make envfile with Hawk token
22+
uses: ozaytsev86/create-env-file@v1
23+
with:
24+
file-name: './www/.env'
25+
ENV_HAWK_TOKEN: ${{ secrets.HAWK_TOKEN }}
26+
1627
- name: Go to app dir, Install Node.js packages, Pull Editor's packages
17-
run: cd www && yarn editor-upgrade
28+
run: cd www && yarn editor-upgrade && yarn build
1829

1930
- name: Create Pull Request
2031
uses: peter-evans/create-pull-request@v3
2132
with:
2233
commit-message: Upgrade Editor and Tools
23-
committer: github-actions <action@github.com>
24-
author: github-actions <action@github.com>
34+
committer: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
35+
author: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2536
branch: pull-the-latest-editor-and-tools
2637
delete-branch: true
27-
title: "Pull the latest Editor and Tools"
38+
title: "Upgrade Editor.js and Tools"
39+
body: |
40+
Auto-generated PR for pulling the latest Editor and Tools
41+

0 commit comments

Comments
 (0)