diff --git a/.github/workflows/deploy.js.yml b/.github/workflows/deploy.js.yml index 5f22039..2e8e433 100644 --- a/.github/workflows/deploy.js.yml +++ b/.github/workflows/deploy.js.yml @@ -16,9 +16,10 @@ jobs: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x cache: 'yarn' - run: yarn - - run: yarn build + - name: Build + run: NODE_OPTIONS=--openssl-legacy-provider yarn build - name: Deploy using web4 run: npx web4-deploy build/ thewiki.near diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b8d4be0..ae05f2b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -27,4 +27,5 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'yarn' - run: yarn - - run: yarn build + - name: Build + run: NODE_OPTIONS=--openssl-legacy-provider yarn build