Skip to content

wip: 更新脚本规则扫描的默认目录列表 #14

wip: 更新脚本规则扫描的默认目录列表

wip: 更新脚本规则扫描的默认目录列表 #14

Workflow file for this run

name: 'Tests'
on:
push:
branches:
- '**'
paths-ignore:
- README.md
- CONTRIBUTING.md
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'windows-latest' }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node-version:
- 18
include:
- node-version: 20
os: ubuntu-latest
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Test
run: pnpm test