Skip to content

update github workflow with recent version of actions and node 22, split install, build, test, and code format check #113

update github workflow with recent version of actions and node 22, split install, build, test, and code format check

update github workflow with recent version of actions and node 22, split install, build, test, and code format check #113

Workflow file for this run

name: node-ci
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [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 dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Prettier check
run: npm run prettier:check