Skip to content

Change how stats file assets are build using emit hook #43

Change how stats file assets are build using emit hook

Change how stats file assets are build using emit hook #43

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "current"
- "20.10"
env:
NODE_OPTIONS: --openssl-legacy-provider
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Print Node.js version
run: |
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
- name: Install dependencies and run tests
run: |
npm install
npm run ci
- name: Unset NODE_OPTIONS
run: |
unset NODE_OPTIONS