Skip to content

ci: update node version, use setup-node, update checkout version (#1646) #1580

ci: update node version, use setup-node, update checkout version (#1646)

ci: update node version, use setup-node, update checkout version (#1646) #1580

Workflow file for this run

name: ci
on:
pull_request:
branches:
- gh-pages
push:
branches:
- gh-pages
pull_request_review:
types: [submitted]
jobs:
test:
runs-on: ubuntu-latest
if: |
github.event.pull_request.draft != true &&
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
github.event_name != 'pull_request_review'
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Node.js dependencies
run: npm install
- name: Run tests
shell: bash
run: npm test
- name: Check Docker support
shell: bash
run: |
docker --version
make build