Bump astro and @astrojs/starlight in /docs #980
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: Check formatting and linting rules | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-check-script: | |
name: Run Format Check Script | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install root Node.js dependencies | |
run: npm ci | |
- name: Install all dependencies | |
run: npm run install:all | |
- name: Build lib | |
run: npm run build | |
working-directory: ./lib | |
- name: Install eslint | |
run: npm install -g eslint@8.57.0 | |
- name: Install prettier | |
run: npm install -g prettier@3.2.5 | |
- name: Run check script | |
run: node scripts/check_format_lint.js |