E2E #3
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: E2E | |
| on: | |
| push: | |
| branches: [main] | |
| schedule: | |
| # Weekly, Monday 08:00 UTC | |
| - cron: "0 8 * * 1" | |
| workflow_dispatch: | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Unit + mock smoke tests | |
| run: npm test | |
| - name: E2E against api.hikerapi.com | |
| run: npm run test:e2e | |
| env: | |
| HIKERAPI_KEY: ${{ secrets.HIKERAPI_KEY }} |