Skip to content

Commit

Permalink
Add api e2e tests basic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed May 11, 2024
1 parent d4e30be commit 1c5614b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: API Tests

on:
push:
paths:
- 'api/**'

workflow_dispatch:


jobs:
api-tests-e2e:
name: API E2E Tests
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js 20.10
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install API dependencies
working-directory: api
run: pnpm install

- name: Run API E2E tests
working-directory: api
run: pnpm test:e2e

0 comments on commit 1c5614b

Please sign in to comment.