Skip to content

Merge pull request #157 from openscript-ch/changeset-release/main #273

Merge pull request #157 from openscript-ch/changeset-release/main

Merge pull request #157 from openscript-ch/changeset-release/main #273

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
jobs:
version:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test with coverage
run: pnpm coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}