mirror of
https://github.com/mdn/content.git
synced 2026-03-28 21:57:21 +00:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](6044e13b5d...53b83947a5)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
805 B
YAML
36 lines
805 B
YAML
name: JavaScript lint
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .nvmrc
|
|
- "**/*.js"
|
|
- "**/*.mjs"
|
|
- .github/workflows/pr-check_javascript.yml
|
|
|
|
# No GITHUB_TOKEN permissions, as we only use it to increase API limit.
|
|
permissions: {}
|
|
|
|
jobs:
|
|
lint-js:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
cache: npm
|
|
|
|
- name: Install
|
|
run: npm ci
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Lint JavaScript files
|
|
run: npm run lint:js
|