Skip to content

ci: Workflow Bot -- Fix Lint #41

ci: Workflow Bot -- Fix Lint

ci: Workflow Bot -- Fix Lint #41

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Test
on:
workflow_dispatch:
push:
paths:
- '/package.json'
- pnpm-lock.yaml
- 'src/**'
- '.github/workflows/test.yml'
pull_request:
jobs:
test-node-versions:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [18.x, 20.x, 21.x]
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/install-build-test
with:
node-version: ${{ matrix.node-version }}
test-os:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [18.x]
os:
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/install-build-test
with:
node-version: ${{ matrix.node-version }}