Skip to content

Build

Build #932

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
schedule:
- cron: 0 0 * * *
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x, 25.x]
env:
ROTION_UA: curl
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Run builds and deploys with ${{ matrix.node-version }}
run: |
npm install
npm run build
npm run test