Skip to content

build(deps): bump node from 22.2.0 to 22.4.0 #130

build(deps): bump node from 22.2.0 to 22.4.0

build(deps): bump node from 22.2.0 to 22.4.0 #130

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
environment: bot-test-env
strategy:
matrix:
node-version: [ 22.x ]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install ffmpeg
run: sudo apt-get update && sudo apt-get install ffmpeg
- name: Install node dependencies
run: npm install
- name: Node code check
run: find -maxdepth 1 -name "*.js" -exec node -c {} \;