Planned integration tests #1389
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Planned integration tests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 3 * * *' | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: web_integration_tests | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set Aegis url | |
| run: | | |
| fastlane setAegisUrl url:${{ secrets.AEGIS_URL }} | |
| - name: Set Stripe secrets | |
| run: | | |
| fastlane updateStripeSecrets product_id:${{ vars.STRIPE_PRODUCT_ID }} subscription_id:${{ vars.STRIPE_SUBSCRIPTION_ID }} | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: Cache NPM # leverage npm cache on repeated workflow runs if package.json didn't change | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Install Dependencies | |
| run: yarn | |
| - name: Tests | |
| run: | | |
| yarn integrationTests |