Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit 5f1a4e8

Browse files
authored
Release/v2.0.0 (#15)
* Updated dependencies and moved to nut.js 3.0.0 * Fix optional property access on providerData * Remove flaky e2e test * Version bump to v2.0.0
1 parent 8416f4c commit 5f1a4e8

27 files changed

+6815
-5789
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ jobs:
1616
uses: actions/setup-node@v2
1717
with:
1818
node-version: 14
19-
- name: Setup Docker
20-
run: |
21-
docker pull s1hofmann/nut-ci:latest
22-
docker run -it -d --name nut-ci --shm-size 8gb --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
2319
- name: Install
2420
run: npm ci
2521
- name: Compile
@@ -28,15 +24,13 @@ jobs:
2824
uses: GabrielBB/xvfb-action@v1
2925
with:
3026
run: npm test
31-
- name: Run Docker E2E tests
32-
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} 14"
3327

3428
test:
3529
needs:
3630
- sonar
3731
strategy:
3832
matrix:
39-
os: [ ubuntu-latest, windows-latest, macos-latest ]
33+
os: [ windows-latest, macos-latest ]
4034
node: [ 14 ]
4135
runs-on: ${{matrix.os}}
4236
steps:
@@ -46,19 +40,11 @@ jobs:
4640
uses: actions/setup-node@v2
4741
with:
4842
node-version: ${{matrix.node}}
49-
- name: Setup Docker
50-
if: ${{matrix.os == 'ubuntu-latest'}}
51-
run: |
52-
docker pull s1hofmann/nut-ci:latest
53-
docker run -it -d --name nut-ci --shm-size 8gb -e VNC_COL_DEPT=32 --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
5443
- name: Install
5544
run: npm ci
5645
- name: Compile
5746
run: npm run compile
5847
- name: Run tests
5948
uses: GabrielBB/xvfb-action@v1
6049
with:
61-
run: npm test
62-
- name: Run Docker E2E tests
63-
if: ${{matrix.os == 'ubuntu-latest'}}
64-
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
50+
run: npm test

.github/workflows/snapshot_release.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
uses: actions/setup-node@v2
2222
with:
2323
node-version: ${{matrix.node}}
24-
- name: Setup Docker
25-
if: ${{matrix.os == 'ubuntu-latest'}}
26-
run: |
27-
docker pull s1hofmann/nut-ci:latest
28-
docker run -it -d --name nut-ci --shm-size 8gb --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
2924
- name: Install
3025
run: npm ci
3126
- name: Compile
@@ -34,9 +29,6 @@ jobs:
3429
uses: GabrielBB/xvfb-action@v1
3530
with:
3631
run: npm test
37-
- name: Run Docker E2E tests
38-
if: ${{matrix.os == 'ubuntu-latest'}}
39-
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
4032

4133
deploy:
4234
needs:

.github/workflows/tagged_release.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ jobs:
1818
uses: actions/setup-node@v2
1919
with:
2020
node-version: ${{matrix.node}}
21-
- name: Setup Docker
22-
if: ${{matrix.os == 'ubuntu-latest'}}
23-
run: |
24-
docker pull s1hofmann/nut-ci:latest
25-
docker run -it -d --name nut-ci --shm-size 8gb --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
2621
- name: Install
2722
run: npm ci
2823
- name: Compile
@@ -31,9 +26,6 @@ jobs:
3126
uses: GabrielBB/xvfb-action@v1
3227
with:
3328
run: npm test
34-
- name: Run Docker E2E tests
35-
if: ${{matrix.os == 'ubuntu-latest'}}
36-
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
3729

3830
deploy:
3931
needs:

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/e2e/
99
/index.ts
1010
/jest.config.js
11+
*.jpg

e2e/assets/calculator.png

-463 Bytes
Binary file not shown.

e2e/assets/close.png

-270 Bytes
Binary file not shown.

e2e/assets/desktop.png

-13.4 KB
Binary file not shown.

e2e/assets/equals.png

-507 Bytes
Binary file not shown.

e2e/assets/menu.png

-2.85 KB
Binary file not shown.

e2e/assets/mouse.png

-13.3 KB
Binary file not shown.

e2e/assets/moved_trash.png

-6.8 KB
Binary file not shown.

e2e/assets/one.png

-466 Bytes
Binary file not shown.

e2e/assets/plus.png

-461 Bytes
Binary file not shown.

e2e/assets/result.png

-1.82 KB
Binary file not shown.

e2e/assets/terminal.png

-545 Bytes
Binary file not shown.

e2e/assets/trash.png

-4.12 KB
Binary file not shown.

e2e/assets/xfce-menu.png

-2.79 KB
Binary file not shown.

e2e/assets/zero.png

-603 Bytes
Binary file not shown.

e2e/plugin-test/index.e2e.spec.ts

Lines changed: 0 additions & 89 deletions
This file was deleted.

e2e/plugin-test/install.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)