Skip to content

chore(deps): update node.js to v22 #1023

chore(deps): update node.js to v22

chore(deps): update node.js to v22 #1023

Workflow file for this run

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/*