Skip to content

build: upgrade node versions #298

build: upgrade node versions

build: upgrade node versions #298

Workflow file for this run

name: NPM Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: install ffmpeg
run: |
sudo apt-get update
sudo apt-get install ffmpeg
- run: pnpm build
- run: pnpm lint
env:
CI: true