From 5c4ed269a272185a8cf8cee782b8358e5c974e88 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Mon, 9 Oct 2023 18:30:47 +0200 Subject: [PATCH] ci: auto install deps in frontend and backend dirs of examples before tests --- .github/workflows/test-examples.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-examples.yml b/.github/workflows/test-examples.yml index 82b86bae1..b02e63f8f 100644 --- a/.github/workflows/test-examples.yml +++ b/.github/workflows/test-examples.yml @@ -25,8 +25,8 @@ jobs: working-directory: ${{ matrix.examplePath }} steps: - uses: actions/checkout@v2 - - run: '[ -d "frontend" ] && npm i --prefix ./frontend' - - run: '[ -d "backend" ] && npm i --prefix ./backend' + - run: bash '[ -d "frontend" ] && npm i --prefix ./frontend' + - run: bash '[ -d "backend" ] && npm i --prefix ./backend' - run: npm install git+https://github.com:supertokens/supertokens-auth-react.git#$GITHUB_SHA - run: npm install - run: npm install mocha@6.1.4 jsdom-global@3.0.2 puppeteer@^11.0.0 isomorphic-fetch@^3.0.0