From a3531f5479a56d419711eb0566c5e17554bea21d Mon Sep 17 00:00:00 2001 From: Amanda Savluchinske Date: Mon, 18 Dec 2023 12:34:32 -0300 Subject: [PATCH] Updates workflow with working version --- .github/workflows/config.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 6579f73..c8c7a63 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -12,15 +12,20 @@ jobs: runs-on: ubuntu-latest container: image: node:18.19 + env: + NODE_OPTIONS: --openssl-legacy-provider steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js run: | echo "Node version: $(node --version)" echo "NPM version: $(npm --version)" npm install npm run ci + - name: Unset NODE_OPTIONS + run: | + unset NODE_OPTIONS test: runs-on: ubuntu-latest @@ -28,14 +33,14 @@ jobs: matrix: node-version: - "current" - - "lts" + - "20.10" env: NODE_OPTIONS: --openssl-legacy-provider steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Print Node.js version @@ -45,4 +50,7 @@ jobs: - name: Install dependencies and run tests run: | npm install - npm run ci \ No newline at end of file + npm run ci + - name: Unset NODE_OPTIONS + run: | + unset NODE_OPTIONS \ No newline at end of file