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
This commit is contained in:
Anand Chitipothu
2021-05-19 10:05:59 +05:30
parent d9ea02667d
commit 9e0476fd00

View File

@@ -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