chore(deps): update dependency jest to v29.6.3 #363
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: Node.js CI | |
on: | |
push: | |
branches: [main] | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [16.x, 18.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- name: Set Git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn | |
- run: yarn test | |
- run: yarn lint | |
- run: yarn package:rebuild --compress Brotli | |
if: matrix.node-version == '18.x' | |
- name: Codecov | |
if: matrix.node-version == '18.x' && matrix.os == 'ubuntu-latest' | |
uses: codecov/[email protected] | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') && matrix.node-version == '18.x' && matrix.os == 'ubuntu-latest' | |
with: | |
draft: true | |
fail_on_unmatched_files: true | |
files: bin/* |