Skip to content

refactor: use os eol. #107

refactor: use os eol.

refactor: use os eol. #107

Workflow file for this run

name: CI
on:
push:
branches:
- main
- bananas
pull_request:
branches:
- main
jobs:
ci:
name: CI
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: ['20.11.0', '22.9.0']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/[email protected]
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
path: npm-debug.log
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Report Coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Pack
run: npm pack