From 3c024ce194c6b75b5ff7dae4c1a7c4cb5bb1219f Mon Sep 17 00:00:00 2001 From: Ludek Novy <13610612+ludeknovy@users.noreply.github.com> Date: Fri, 13 Jan 2023 21:45:57 +0100 Subject: [PATCH] gh workflow env var fix (#294) --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d989e15..c3cd931c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,15 +6,18 @@ on: jobs: build: runs-on: ubuntu-latest - env: NODE_OPTIONS=--openssl-legacy-provider steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: 18 - name: Install modules run: npm install - name: Tests + env: + NODE_OPTIONS: --openssl-legacy-provider run: npm run test:headless - name: Run Prod Build + env: + NODE_OPTIONS: --openssl-legacy-provider run: npm run build:prod