Skip to content

feat!: switch the recommended config to flat (#118) #133

feat!: switch the recommended config to flat (#118)

feat!: switch the recommended config to flat (#118) #133

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Packages
run: npm install
- name: Lint Files
run: npm run lint
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest]
node: [12.22.0, 12, 14, 16, 18, 20]
include:
- os: windows-latest
node: 18
- os: macOS-latest
node: 18
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Packages
run: npm install
- name: Test
run: npm test