refactor: use package json auto generated export also for npm package name #11543
Workflow file for this run
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Lint markdown files | |
uses: avto-dev/markdown-lint@v1 | |
with: | |
config: '.github/markdown-lint.yml' | |
ignore: "./**/CHANGELOG.md" | |
args: "./**/*.md" | |
- run: npm ci | |
- name: Lint | |
run: npm run lint |