Update package.json + .nvmrc deps #196
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: | |
branches: | |
- "*" | |
workflow_dispatch: {} | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version-file: .nvmrc | |
- name: Create dist | |
run: npm run dist | |
- name: Check if build left artifacts | |
run: git diff --exit-code | |
# uses .markdownlint.yml for configuration | |
- name: markdownlint | |
uses: DavidAnson/markdownlint-cli2-action@eb5ca3ab411449c66620fe7f1b3c9e10547144b0 # v18.0.0 | |
with: | |
globs: | | |
.github/**/*.md | |
*.md | |
- name: yamllint | |
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1 | |
with: | |
file_or_dir: | | |
.github/**/*.yml | |
.*.yml | |
strict: true | |
config_file: .yamllint.yml | |
# - name: actionlint # Newest versions of actionlint don't like unspecified outputs | |
# uses: reviewdog/action-actionlint@05c9d7bef25a46caf572df3497afa7082fc111df # v1.55.0 | |
# env: | |
# SHELLCHECK_OPTS: -o all |