diff --git a/deploy/roles/application/tasks/main.yml b/deploy/roles/application/tasks/main.yml index 796ffc519..2e791d276 100644 --- a/deploy/roles/application/tasks/main.yml +++ b/deploy/roles/application/tasks/main.yml @@ -28,6 +28,14 @@ when: deployment_mode != 'development' notify: "restart server" +- name: Make client resources folder writable for import harness + file: + path: '{{source_dir}}/client/resources' + mode: '0777' + recurse: yes + when: deployment_mode != 'development' + notify: "restart server" + - name: Link application code file: dest: '{{source_dir}}' @@ -76,6 +84,11 @@ args: chdir: '{{source_dir}}' +- name: Import latest tests and harness from w3c/aria-at + shell: ./deploy/scripts/export-and-exec.sh {{environment_config.dest}} node ./server/scripts/import-tests/index.js + args: + chdir: '{{source_dir}}' + - name: Build front end package command: ./deploy/scripts/export-and-exec.sh {{environment_config.dest}} yarn workspace client build become: yes