Skip to content

updated changelog #1670

updated changelog

updated changelog #1670

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
cache: pnpm
node-version: ${{ matrix.node-version }}
- name: Check dependency duplications
uses: vazco/open-standards/actions/npm-dependency-duplications/@master
- name: Check dependency vulnerabilities
uses: vazco/open-standards/actions/npm-dependency-vulnerabilities/@master
- name: Install
run: pnpm install
- name: Check linting
run: pnpm lint:code
- name: Check formatting
run: pnpm lint:text
- name: Check types
run: pnpm lint:types
- name: Test
run: pnpm coverage
- name: Report coverage
uses: codecov/codecov-action@v4.3.0
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build docs
run: pnpm --filter=website build
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.node-version == '22.x'
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3.8.0
with:
allow_empty_commit: true
cname: uniforms.tools
force_orphan: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.node-version == '22.x'