Skip to content

Refactor to use make-synchronized #66

Refactor to use make-synchronized

Refactor to use make-synchronized #66

name: CI
on:
push:
branches:
- main
pull_request:
# schedule:
# - cron: "0 23 * * 6"
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
node_version:
- "18"
# exclude:
# - os: "macos-latest"
# node_version: "12"
name: Node.js ${{ matrix.node_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Install Dependencies
run: yarn
- name: Run Test
run: yarn test-coverage
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: coverage/lcov.info
lint:
name: Lint
runs-on: ubuntu-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Install Dependencies
run: yarn
- name: Run Lint
run: yarn lint