boo #789
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mdsvex | |
on: | |
push: | |
paths-ignore: | |
- 'site/**' | |
pull_request: | |
paths-ignore: | |
- 'site/**' | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i -g pnpm@9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm lint | |
# type-check here as well when it is working | |
env: | |
CI: true | |
name: mdsvex | |
build-test: | |
name: test-build - node ${{ matrix.node-version }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18, 20, 22] | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i -g [email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm test | |
- run: pnpm -r build | |
env: | |
CI: true | |
name: mdsvex |