Skip to content

chore(deps-dev): bump @vitest/coverage-v8 from 1.1.0 to 1.4.0 (#183) #360

chore(deps-dev): bump @vitest/coverage-v8 from 1.1.0 to 1.4.0 (#183)

chore(deps-dev): bump @vitest/coverage-v8 from 1.1.0 to 1.4.0 (#183) #360

Workflow file for this run

on:
push:
branches: [main]
pull_request:
jobs:
typecheck-outputs:
name: 🚚 Typecheck Outputs / ${{ matrix.typescript-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
typescript-version:
- '~5.2.0'
- '~5.1.0'
# We use features that were added in v5.0 of typescript, so that is
# the lowest we can go here. This also means this is the lowest
# version we support. When this value changes in the future it needs
# to be communicated to the users.
- '~5.0.0'
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸͺ‘ Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: πŸ“¦ Install Dependencies
run: npm install
# Order is important here, we build with the typescript version defined
# in package.json, before we overrite it for the tests.
- name: πŸ—οΈ Build
run: npm run build
- name: πŸ“˜ Install Typescript
run: npm install --dev typescript@${{ matrix.typescript-version }}
- name: πŸ”Ž Type check
run: npm run tsc:dist
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸͺ‘ Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: πŸ“¦ Install Dependencies
run: npm install
- name: ⚑ Run tests
run: |
npm run test
- name: 🚦 Lint
run: |
npm run lint
- name: πŸ§™πŸΏβ€β™‚οΈ TSC
run: |
npm run tsc
- name: πŸ“₯ Generate npm package
run: |
npm run build