Skip to content

Commit

Permalink
fix (CI): broken CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Nov 12, 2023
1 parent 8ba16f7 commit c60cb09
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,28 +137,26 @@ jobs:
APP_URL: http://127.0.0.1:8334
CI: true
steps:
- uses: actions/checkout@v3
- name: Clone test repo
- name: Setup - git
uses: actions/checkout@v3
with:
repository: mickael-kerjean/filestash-test
ssh-key: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
path: test
- name: Restore Build
- name: Setup - build
uses: actions/download-artifact@v3
with:
name: build
- name: Setup
- name: Setup - deps
run: |
cd ./test/e2e
npm install
npm run --prefix ./test/e2e install
cd ./test/e2e && npm install
chmod +x ../filestash
- name: Run
run: |
chmod +x ./filestash
./filestash > /dev/null &
cd ./test/e2e
node servers/webdav.js > /dev/null &
npm test
node ./test/e2e/servers/webdav.js > /dev/null &
npm --prefix ./test/e2e test
release_docker_amd64:
if: github.ref == 'refs/heads/master'
Expand Down Expand Up @@ -202,12 +200,12 @@ jobs:
# echo "DONE"
release_docker:
if: github.ref == 'refs/heads/master'
needs: [ release_docker_amd64, release_docker_arm64 ]
runs-on: ubuntu-latest
steps:
- name: Init
uses: actions/checkout@v3
- name: Setup
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit c60cb09

Please sign in to comment.