diff --git a/.forgejo/workflows/on_release.yml b/.forgejo/workflows/on_release.yml index 622296eb6b..c797b3a92c 100644 --- a/.forgejo/workflows/on_release.yml +++ b/.forgejo/workflows/on_release.yml @@ -20,6 +20,10 @@ jobs: cache: "npm" cache-dependency-path: package-lock.json + - name: install deps + run: npm ci + shell: bash + - name: clone submodule shell: bash run: | @@ -28,14 +32,10 @@ jobs: git submodule update cd android git config --global --add safe.directory $(pwd) - - - name: install deps - run: npm ci - shell: bash + git pull - name: Move dependency (@capacitor) into android repo run: | - cd android cp -r ../node_modules/@capacitor ./ sed "s/..\/node_modules\///g" -i capacitor.settings.gradle @@ -53,9 +53,6 @@ jobs: - run: npm run init - - name: generate layers - run: npm run generate:layeroverview - - name: Run tests run: npm run test