Update run-api-tests.yml

This commit is contained in:
benedetta davico
2023-02-22 13:12:37 +01:00
committed by GitHub
parent 4e829ef540
commit 5f7270acc8
+11 -3
View File
@@ -1,25 +1,33 @@
name: CI for Nym API Tests
on:
push:
paths:
- 'nym-api/**'
- "nym-api/**"
defaults:
run:
working-directory: nym-api/tests
jobs:
test:
name: nym-api tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node v18
- name: Node v18
uses: actions/setup-node@v3
with:
node-version: 18.1.0
- name: Install yarn
run: yarn install
- name: Run yarn
run: yarn
- name: Run tests
run: yarn test:qa
run: yarn test
working-directory: nym-api/tests