35 lines
630 B
YAML
35 lines
630 B
YAML
name: Check Swagger API
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '35 17 */4 * 4'
|
|
|
|
jobs:
|
|
e2e_tests:
|
|
name: E2E test
|
|
env:
|
|
CI: true
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 8
|
|
run_install: false
|
|
|
|
# https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
|
|
- name: Use Node.js 20.x
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20.x
|
|
cache: pnpm
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: E2E test
|
|
run: pnpm test:e2e:prod
|