58c9a58a38
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node 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@v4
|
|
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
|