Skip to content

Commit

Permalink
Merge pull request #17 from fisuda/update/github_actions
Browse files Browse the repository at this point in the history
Update Github Actions for E2E test
  • Loading branch information
fisuda authored May 2, 2023
2 parents be5a7f6 + e4b304b commit ae1cf0c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 19.x]
node-version: [14.x, 16.x, 18.x, 20.x]

steps:
- name: Checkout code
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup node
run: npm ci

- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## node-red-contrib-letsfiware-NGSI v0.3.0-next

- Improve E2E test(#12)
- Update Github Actions for E2E test (#13)
- Improve E2E test (#12)

## node-red-contrib-letsfiware-NGSI v0.3.0 - 30 April, 2023

Expand Down
7 changes: 7 additions & 0 deletions test/e2e/setup.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
#!/bin/bash

# MIT License
#
# Copyright 2023 Kazuhito Suda
#
# This file is part of node-red-contrib-NGSI-LD
#
# https://github.com/lets-fiware/node-red-contrib-NGSI-LD
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down Expand Up @@ -51,6 +57,7 @@ wait() {

# Setup node-RED
npm install [email protected]
npm ci
npm link node-red-contrib-ngsi-ld
./node_modules/node-red/red.js &

Expand Down

0 comments on commit ae1cf0c

Please sign in to comment.