Skip to content

chore: bump dependencies - yaml v2 #35

chore: bump dependencies - yaml v2

chore: bump dependencies - yaml v2 #35

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"
- "16"
- "14"
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
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
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 ESLint
run: yarn lint:eslint
- name: Run Prettier
run: yarn lint:prettier