build(deps-dev): bump @types/node from 22.2.0 to 22.7.4 #220
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. | |
# | |
# SPDX-License-Identifier: MIT | |
name: "Tests" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
merge_group: | |
branches: [ "main" ] | |
defaults: | |
run: | |
working-directory: "." | |
jobs: | |
build: | |
strategy: | |
matrix: | |
deno-version: [ "1.45.5" ] | |
node-version: [ 18, 20, 22 ] | |
os: ["ubuntu-latest", "windows-latest", "macos-latest"] | |
pnpm: ["9.7.0"] | |
runs-on: "${{ matrix.os }}" | |
env: | |
TURBO_TOKEN: "${{ secrets.TURBO_TOKEN }}" | |
TURBO_TEAM: "${{ vars.TURBO_TEAM }}" | |
steps: | |
- name: "Checkout repository" # v4.1.1 | |
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11" | |
- name: "Install PNPM" # v3.0.0 | |
uses: "pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d" | |
with: | |
version: "${{ matrix.pnpm }}" | |
- name: "Use Node.js ${{ matrix.node-version }}" # v4.0.2 | |
uses: "actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8" | |
with: | |
node-version: "${{ matrix.node-version }}" | |
cache: "pnpm" | |
- name: "Use Deno ${{ matrix.deno-version }}" # v1.3.0 | |
uses: denoland/setup-deno@ba9dcf3bc3696623d1add6a2f5181ee1b5143de5 | |
with: | |
deno-version: "${{ matrix.deno-version }}" | |
# All | |
- name: "(All) Install dependencies" | |
run: "pnpm install --frozen-lockfile" | |
- name: "(All) Just run tests (because Windows sucks)" | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: "pnpm turbo test" | |
- name: "(All) Run All Tasks" | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: "pnpm turbo all:cov:ci" |