chore: version bump #1001
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Postman tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- uses: nevermined-io/[email protected] | |
with: | |
token: ${{ secrets.API_TOKEN_GITHUB }} | |
node: 'false' | |
marketplace: 'false' | |
- name: Running elasticsearch | |
run: | | |
docker run \ | |
-p 9200:9200 \ | |
-p 9300:9300 \ | |
-e "discovery.type=single-node" \ | |
-e "bootstrap.memory_lock=true" \ | |
-e "ELASTIC_PASSWORD=password"\ | |
--name es01 \ | |
-e "action.destructive_requires_name=true" \ | |
-e "xpack.security.enabled=false" \ | |
-d docker.elastic.co/elasticsearch/elasticsearch:8.8.1 | |
- name: Install dependencies | |
run: | | |
yarn | |
- name: Compile | |
run: | | |
yarn build | |
- name: Make Directory for results | |
run: | | |
mkdir -p testResults | |
- name: Run POSTMAN collection | |
env: | |
ELASTIC_NODE: 'http://localhost:9200' | |
ELASTIC_INDEX_NAME_PREFIX: 'marketplace-index-prefix' | |
ELASTIC_USERNAME: 'elastic' | |
ELASTIC_PASSWORD: 'password' | |
run: | | |
yarn setup:dev | |
yarn dev & | |
sleep 30 | |
yarn test:postman | |
- name: Output the run Details | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RunReports | |
path: testResults |