irest-app-test 2.5.4 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ name: Build and Publish
2
+
1
3
  on:
2
4
  push:
3
5
  branches:
@@ -5,21 +7,28 @@ on:
5
7
  jobs:
6
8
  publish:
7
9
  runs-on: ubuntu-latest
10
+
8
11
  steps:
9
12
  - uses: actions/checkout@v3
10
13
  - uses: actions/setup-node@v3
11
14
  with:
12
15
  node-version: "14.x"
13
- - run: |
14
- echo "Installing Dependency. Please wait.."
15
- npm install
16
- npm run build:remote
17
- echo "Cleaning build directory..."
16
+
17
+ - name: Install dependencies
18
+ run: npm install
19
+
20
+ - name: Build
21
+ run: npm run build:remote
22
+
23
+ - name: Create build folder
24
+ run: |
18
25
  rm -rf build
19
- echo "Creating build folder..."
20
- mkdir -p build
21
- echo "copying artifact to build folder..."
22
- cp -r lib dist node_modules package.json .env.remote.prod build/
26
+ mkdir build
27
+
28
+ - name: Copy dist to build
29
+ run: |
30
+ cp -R lib dist node_modules package.json .env.remote.prod build/
31
+ cd build
23
32
 
24
33
  - name: Get latest release tag
25
34
  uses: rez0n/actions-github-release@main
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "irest-app-test",
3
- "version": "2.5.4",
3
+ "version": "2.5.7",
4
4
  "description": "iRest simulator application tooling and scripts",
5
5
  "main": "lib/server/server.js",
6
6
  "keywords": [