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