1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-11 06:24:35 +00:00

chore: changing order of execution in main.yml to prevent network errors from vpn

This commit is contained in:
Allan
2023-07-21 10:01:10 +01:00
parent 9eec2e4920
commit 76a20838ec

View File

@@ -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