Skip to content

vscode

vscode #17

Workflow file for this run

name: CI Flow
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
name: CI flow ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Link build
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm test
- name: Publish to Codecov
uses: codecov/codecov-action@v4
with:
# Codecov backend may be unstable
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}