Skip to content

chore(deps): bump phips28/gh-action-bump-version from 11.0.4 to 11.0.5 #468

chore(deps): bump phips28/gh-action-bump-version from 11.0.4 to 11.0.5

chore(deps): bump phips28/gh-action-bump-version from 11.0.4 to 11.0.5 #468

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@7953a35651af0f1c1864b4034c4325bce3318b4f
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 }}