Skip to content

Run CI on Pull Requests to main #3019

Run CI on Pull Requests to main

Run CI on Pull Requests to main #3019

Workflow file for this run

name: Test - Pluto
on:
push:
branches:
- main
pull_request:
branches:
- main
- rc
paths:
- .github/workflows/test.pluto.yaml
- alamos/ts/**
- client/ts/**
- configs/eslint/**
- configs/stylelint/**
- configs/ts/**
- configs/vite/**
- freighter/ts/**
- pluto/**
- x/media/**
- x/ts/**
workflow_dispatch:
jobs:
test:
name: Test (${{ matrix.os }})
strategy:
matrix:
include:
- os: ubuntu-latest
lint: true
- os: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'macos-latest' }}
- os: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'windows-latest' }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Lint
if: matrix.lint
run: pnpm lint:pluto
- name: Build
run: pnpm build:pluto
- name: Test
run: pnpm test:pluto