fix(defaults): add glob for new eslint config file #32
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: 🕵️ Checks | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '.vscode/**' | |
- 'images/**' | |
- '*.md' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: 🧱 Build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- name: 🏗 Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: 📦 Install dependencies | |
run: pnpm install | |
- name: 🧱 Build project | |
run: pnpm build | |
test: | |
name: 🧪 Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [14.x, 18.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- name: 🏗 Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: 📦 Install dependencies | |
run: pnpm install | |
- name: 🧪 Run tests | |
run: pnpm test |