Skip to content

chore(deps): update dependency np to v8 (#122) #358

chore(deps): update dependency np to v8 (#122)

chore(deps): update dependency np to v8 (#122) #358

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