Skip to content

fix: treat application/json scripts as json #121

fix: treat application/json scripts as json

fix: treat application/json scripts as json #121

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore: ["**.md"]
push:
branches: ["main"]
paths-ignore: ["**.md"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use node@${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Run tests
run: npm run ci:test
- name: Report code coverage
uses: codecov/codecov-action@v3