Skip to content

Set NODE_OPTIONS for build process #40

Set NODE_OPTIONS for build process

Set NODE_OPTIONS for build process #40

Workflow file for this run

name: gh-build
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "20"
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
env:
NODE_OPTIONS: --openssl-legacy-provider
- name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build