mirror of
https://github.com/sasjs/core.git
synced 2026-01-07 17:40:05 +00:00
chore: changing order of execution in main.yml to prevent network errors from vpn
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -15,6 +15,12 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Write VPN Files
|
||||||
run: |
|
run: |
|
||||||
echo "$CA_CRT" > .github/vpn/ca.crt
|
echo "$CA_CRT" > .github/vpn/ca.crt
|
||||||
@@ -39,12 +45,6 @@ jobs:
|
|||||||
- name: Start Open VPN 3
|
- name: Start Open VPN 3
|
||||||
run: openvpn3 session-start --config .github/vpn/config.ovpn
|
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
|
- name: Add credentials
|
||||||
run: |
|
run: |
|
||||||
echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server
|
echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server
|
||||||
|
|||||||
Reference in New Issue
Block a user