Skip to content

Update GitHub workflow to fix the broken build #515

Update GitHub workflow to fix the broken build

Update GitHub workflow to fix the broken build #515

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: setup-docker
uses: docker-practice/actions-setup-docker@master
with:
docker_channel: stable
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: package-lock.json
- name: Install
run: npm ci