Skip to content

Commit

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

on:
push:
paths:
- 'api/**'
- '.github/workflows/client-tests.yml'

workflow_dispatch:


jobs:
api-tests-e2e:
name: Client 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: 'client/.nvmrc'

- uses: pnpm/action-setup@v4
with:
version: 9

- name: Install Client dependencies
working-directory: client
run: pnpm install

- name: Run Client tests
working-directory: client
run: pnpm test

0 comments on commit ae3a8ed

Please sign in to comment.