Skip to content

Update dependency @types/node to v22 #2080

Update dependency @types/node to v22

Update dependency @types/node to v22 #2080

Workflow file for this run

name: build
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
env:
CI: true
- name: GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
if: matrix.node-version == '18.x' && github.ref == 'refs/heads/main'
with:
BRANCH: gh-pages
FOLDER: target/site/serenity
CLEAN: true