Skip to content

lint and format .yaml files as well as .yml #1311

lint and format .yaml files as well as .yml

lint and format .yaml files as well as .yml #1311

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
paths:
- "*"
- "scripts/**"
- "tests/**"
- "!**/*.md"
# No GITHUB_TOKEN permissions, as we only use it to increase API limit.
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
cache: npm
node-version-file: .nvmrc
- name: Install
run: npm ci
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Test
run: npm test