From 9e0476fd00231b88c0624323037714d28bfc50e0 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Wed, 19 May 2021 10:05:59 +0530 Subject: [PATCH] chore: upgraded node to v14 in github actions - the new changes to frappe required node v14 - also added a build setup before runing tests to make sure the assets are built --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d33397d1..49eddfff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: setup node uses: actions/setup-node@v2 with: - node-version: '12' + node-version: '14' check-latest: true - name: setup cache for bench uses: actions/cache@v2 @@ -69,6 +69,9 @@ jobs: - name: allow tests working-directory: /home/runner/frappe-bench run: bench --site frappe.local set-config allow_tests true + - name: bench build + working-directory: /home/runner/frappe-bench + run: bench --site frappe.local build - name: run tests working-directory: /home/runner/frappe-bench run: bench --site frappe.local run-tests --app community