diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 446cdff..6158937 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,11 @@ env: DATABASE_PRISMA_URL: postgres://postgres:postgres@localhost:5432/test DATABASE_URL: postgres://postgres:postgres@localhost:5432/test PUBLIC_URL: http://localhost:5173 + TWILIO_MESSAGING_SERVICE_SID: ${{ secrets.TWILIO_MESSAGING_SERVICE_SID }} + TWILIO_PHONE_NUMBER: ${{ secrets.TWILIO_PHONE_NUMBER }} + TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} + TWILIO_API_SECRET: ${{ secrets.TWILIO_API_SECRET }} + TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }} jobs: build: runs-on: ubuntu-latest @@ -43,11 +48,8 @@ jobs: - name: Build in node mode run: yarn nodebuild - - name: Install playwright - run: npx playwright install - - - name: Install Playwright dependencies (just chromium for now) - run: npx playwright install-deps chromium + - name: Install playwright & dependencies + run: yarn exec playwright install --with-deps - name: Run tests run: yarn test