Skip to content

chore(deps-dev): bump @types/node from 24.12.0 to 25.5.0 #624

chore(deps-dev): bump @types/node from 24.12.0 to 25.5.0

chore(deps-dev): bump @types/node from 24.12.0 to 25.5.0 #624

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
tags:
- '*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
check-latest: true
node-version: ${{ matrix.node-version }}
- name: Install mkcert
run: |
curl -JLO "https://dl.filippo.io/mkcert/v1.4.4?for=linux/amd64"
chmod +x mkcert-v1.4.4-linux-amd64
mkdir -p $HOME/.local/bin
mv mkcert-v1.4.4-linux-amd64 $HOME/.local/bin/mkcert
- run: npm i
- run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
continue-on-error: true
publish:
runs-on: ubuntu-latest
needs: [build]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
- name: Use Node.js 24
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
check-latest: true
node-version: 24
registry-url: 'https://registry.npmjs.org'
- run: npm i
- name: Determine npm publish tag
id: npm-tag
run: |
VERSION=$(node -p "require('./package.json').version")
if echo "$VERSION" | grep -qE '[-]'; then
echo "tag=next" >> "$GITHUB_OUTPUT"
else
echo "tag=latest" >> "$GITHUB_OUTPUT"
fi
- run: npm publish --access public --tag ${{ steps.npm-tag.outputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}