diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ac374f0..1ea80193 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