Skip to content

chore(deps-dev): bump semver from 5.7.1 to 5.7.2 #19

chore(deps-dev): bump semver from 5.7.1 to 5.7.2

chore(deps-dev): bump semver from 5.7.1 to 5.7.2 #19

Workflow file for this run

# This workflow will do a clean install of node dependencies, lint files and run tests across different versions of Node.js
# For more information, see: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
name: ci
on: [push, pull_request]
jobs:
lint:
name: Lint on ${{ matrix.os }} with Node.js ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
test:
name: Test on ${{ matrix.os }} with Node.js ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [16, 18]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Test
run: pnpm test