Skip to content

chore(deps): bump pnpm/action-setup from 2 to 3 (#30) #54

chore(deps): bump pnpm/action-setup from 2 to 3 (#30)

chore(deps): bump pnpm/action-setup from 2 to 3 (#30) #54

Workflow file for this run

name: CI
on:
pull_request:
branches: main
push:
branches: main
jobs:
lint:
if: github.repository == 'chaxus/ranlexer'
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [18, 20]
include:
# Active LTS + other OS
- os: macos-latest
node_version: 20
- os: windows-latest
node_version: 20
fail-fast: false
name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Install deps
run: pnpm install
- name: format
run: pnpm run format
- name: Test
run: pnpm run test
- name: Lint
run: pnpm run lint
- name: Build
run: pnpm run build