40e72ce37a
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
679 B
YAML
40 lines
679 B
YAML
name: ci-nym-api-tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- "nym-api/**"
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: nym-api/tests
|
|
|
|
jobs:
|
|
test:
|
|
name: nym-api tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: install yarn in root
|
|
run: cd ../.. && yarn install
|
|
|
|
- name: Install npm
|
|
run: npm install
|
|
|
|
- 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:sandbox
|
|
working-directory: nym-api/tests
|