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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|