Skip to content

chore: release v4.0.0-0 #458

chore: release v4.0.0-0

chore: release v4.0.0-0 #458

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types:
- opened
- synchronize
workflow_dispatch:
jobs:
build:
name: Build, lint and test
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout repo
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: ⚒️ Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: 📦 Install Dependencies
run: npm run bootstrap
- name: 🚦 Lint
run: pnpm run lint
- name: 🔨 Build
run: pnpm run --filter react-compare-slider build
- name: 🧑‍🏫 Build Example Project
run: pnpm run --filter @this/example build
- name: 🕵️ Check Package Configuration
run: pnpm run --filter react-compare-slider check:package
- name: 🧪 Test
run: |
pnpm dlx [email protected] install --with-deps chromium
pnpm run test:ci
- name: Upload Code Climate Test Coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: '${{ secrets.CC_TEST_REPORTER_ID }}'
with:
debug: true
coverageLocations: |
${{github.workspace}}/coverage/ssr-tests/*.info:lcov
${{github.workspace}}/coverage/storybook/*.info:lcov
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
install-script: 'pnpm install --frozen-lockfile --filter react-compare-slider'
build-script: 'build'
cwd: lib