Skip to content

Node.js daily job #1692

Node.js daily job

Node.js daily job #1692

Workflow file for this run

name: Node.js daily job
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
env:
NODE_VERSION: lts/*
permissions:
contents: read
jobs:
build-lto:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build lto
run: |
sudo apt-get update && sudo apt-get install ninja-build -y
./configure --enable-lto --ninja
ninja -C out/Release