From 76a20838ec3c6def888cd36ad4df2e88a2c2c1ed Mon Sep 17 00:00:00 2001 From: Allan Date: Fri, 21 Jul 2023 10:01:10 +0100 Subject: [PATCH] chore: changing order of execution in main.yml to prevent network errors from vpn --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ac374f..1ea8019 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Install dependencies + run: npm ci + + - name: Check code style (aborts if errors found) + run: npx @sasjs/cli lint + - name: Write VPN Files run: | echo "$CA_CRT" > .github/vpn/ca.crt @@ -39,12 +45,6 @@ jobs: - name: Start Open VPN 3 run: openvpn3 session-start --config .github/vpn/config.ovpn - - name: Install dependencies - run: npm ci - - - name: Check code style (aborts if errors found) - run: npx @sasjs/cli lint - - name: Add credentials run: | echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server