fix(deps): update automerge #1028
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: [18.x, 20.x] | |
steps: | |
- name: Set Git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn | |
- run: yarn test | |
- run: yarn lint | |
- run: yarn package --compress Brotli | |
if: matrix.node-version == '20.x' | |
- name: Codecov | |
if: matrix.node-version == '20.x' && matrix.os == 'ubuntu-latest' | |
uses: codecov/[email protected] | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') && matrix.node-version == '20.x' && matrix.os == 'ubuntu-latest' | |
with: | |
draft: true | |
fail_on_unmatched_files: true | |
files: bin/* |