Skip to content

chore(deps-dev): bump husky from 9.0.11 to 9.1.5 #490

chore(deps-dev): bump husky from 9.0.11 to 9.1.5

chore(deps-dev): bump husky from 9.0.11 to 9.1.5 #490

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Build ${{ matrix.build-group }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
arch: x86
build-group: win32-x86
- os: windows-2019
arch: x64
build-group: win32-x64
env:
BUILD_GROUP: ${{ matrix.build-group }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
architecture: ${{ matrix.arch }}
- run: npm ci
- run: npm run lint
- run: npm test
- name: Prebuildify
run: npm run prebuild-$BUILD_GROUP
shell: bash
- uses: actions/upload-artifact@v4
with:
name: prebuilds-${{ matrix.build-group }}
path: prebuilds/
publish:
name: Publish to npm
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
needs: build
concurrency:
group: ${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: prebuilds
pattern: prebuilds-*
merge-multiple: true
- uses: phips28/gh-action-bump-version@fdad52b3b3bbe8fad96b8ca18c56127a96f603db
with:
tag-prefix: 'v'
version-type: 'patch'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}