From d01a6a60add63a76d845273c991659e2e9f66b37 Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Fri, 29 Apr 2022 15:34:45 +0200 Subject: [PATCH] chore: ci --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffa89af..ec05992 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,15 @@ jobs: USER_KEY: ${{ secrets.USER_KEY }} TLS_KEY: ${{ secrets.TLS_KEY }} + - name: Install Open VPN + run: | + sudo apt install apt-transport-https + sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub + sudo apt-key add openvpn-repo-pkg-key.pub + sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-focal.list + sudo apt update + sudo apt install openvpn3=16~beta+focal + - name: Check npm audit run: npm audit --production --audit-level=low @@ -63,15 +72,6 @@ jobs: key: ${{ secrets.DCGITLAB_KEY }} known_hosts: 'placeholder' - - name: Install Open VPN - run: | - sudo apt install apt-transport-https - sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub - sudo apt-key add openvpn-repo-pkg-key.pub - sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-focal.list - sudo apt update - sudo apt install openvpn3=16~beta+focal - - name: Start Open VPN 3 run: openvpn3 session-start --config .github/vpn/config.ovpn