Skip to content

other: Update CI to decrease linter noise #170

other: Update CI to decrease linter noise

other: Update CI to decrease linter noise #170

Workflow file for this run

name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
on-pull-request:
- name: lint

Check failure on line 15 in .github/workflows/on-pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pull-request.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Test
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Print node version
run: node -v
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Run tests
run: npm test
- name: Show expected changes in the changelog file
run: npm run release:test
- name: Changelog check
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Print node version
run: node -v
- name: Install dependencies
run: npm ci
- name: Show expected changes in the changelog file
run: npm run release:test