Skip to content

ci: fix

ci: fix #39

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
merge_group: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- name: Install
run: pnpm i
- name: Lint
run: pnpm run lint
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
node_version: 16
- os: windows-2022
node_version: 16
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- run: corepack enable
- name: Install
run: pnpm i
- name: Test
run: pnpm run test