Planned integration tests #837
This file contains 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@v2 | |
- name: Set Aegis url | |
run: | | |
fastlane setAegisUrl url:${{ secrets.AEGIS_URL }} | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '20.x' | |
- name: Cache NPM # leverage npm cache on repeated workflow runs if package.json didn't change | |
uses: actions/cache@v1 | |
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 |