forked from MapComplete/MapComplete
Actions: run tests before the heavy deploy
This commit is contained in:
parent
f4160ebcf0
commit
b86b8dd1ee
1 changed files with 6 additions and 4 deletions
10
.github/workflows/deploy_hosted.yml
vendored
10
.github/workflows/deploy_hosted.yml
vendored
|
@ -31,10 +31,6 @@ jobs:
|
||||||
run: npm run generate:translations
|
run: npm run generate:translations
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Prepare deploy
|
|
||||||
run: npm run prepare-deploy
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
run: |
|
run: |
|
||||||
pwd
|
pwd
|
||||||
|
@ -42,6 +38,12 @@ jobs:
|
||||||
npm run test
|
npm run test
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Prepare deploy
|
||||||
|
run: npm run prepare-deploy
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Upload artefact
|
- name: Upload artefact
|
||||||
env:
|
env:
|
||||||
SSH_KEY: ${{ secrets.HETZNER_KEY }}
|
SSH_KEY: ${{ secrets.HETZNER_KEY }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue