Skip to content

chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 #94

chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0

chore(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 #94

Workflow file for this run

name: PR test
on:
pull_request:
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