chore(deps-dev): bump eslint-config-prettier from 10.1.1 to 10.1.5 #156
Workflow file for this run
This file contains hidden or 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: PR test | |
on: | |
pull_request: | |
# No GITHUB_TOKEN permissions, as we don't use it. | |
permissions: {} | |
jobs: | |
root: | |
if: github.repository == 'mdn/bcd-utils' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
api: | |
if: github.repository == 'mdn/bcd-utils' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
cache-dependency-path: api/package-lock.json | |
- name: Install dependencies | |
working-directory: api/ | |
run: npm ci | |
- name: Build | |
working-directory: api/ | |
run: npm run build | |
- name: Test | |
working-directory: api/ | |
run: npm run test | |
updates: | |
if: github.repository == 'mdn/bcd-utils' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
cache-dependency-path: updates/package-lock.json | |
- name: Install dependencies | |
working-directory: updates/ | |
run: | | |
npm ci |