chore(deps-dev): bump husky from 8.0.3 to 9.0.6 #379
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['16', '18', '20'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Check for devDependencies bump pull request | |
run: | | |
message=$(git log --format=%B -n 1 ${{ github.event.pull_request.head.sha }}) | |
if [ echo "$message" | grep -q -F "chore(deps-dev):" ] && [ ${{ matrix.node }} != "20" ]; then | |
echo "::set-output name=skip_ci::true" | |
else | |
echo "::set-output name=skip_ci::false" | |
fi | |
- name: Setup node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: yarn install | |
- name: Build and test | |
run: yarn node-gyp rebuild && yarn jest | |
build-win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node lts | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: yarn install | |
- name: Build and test | |
run: yarn node-gyp rebuild && yarn jest | |
build-mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node lts | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: yarn install | |
- name: Build and test | |
run: yarn node-gyp rebuild && yarn jest |