Skip to content

chore: hopefully running bash shells on all OS types #57

chore: hopefully running bash shells on all OS types

chore: hopefully running bash shells on all OS types #57

Workflow file for this run

name: "CI"
on:
push:
branches:
- "main"
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store
jobs:
check:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest ]
node_version: [21]
name: "Env: node-${{ matrix.node_version }}, ${{ matrix.os }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 21
- name: install pnpm
run: npm i pnpm@latest -g
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install
- name: ls
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
tree -L 3
elif [ "$RUNNER_OS" == "Windows" ]; then
tree -L 3
elif [ "$RUNNER_OS" == "macOS" ]; then
tree -L 3
fi
shell: bash
- name: Run CI
run: pnpm run ci