ci: bump @types/node from 22.8.7 to 22.9.0 #1262
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: Romcal CI | |
on: | |
push: | |
branches: [dev, master] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Dependencies | |
run: npm -q --no-progress ci --no-audit | |
- name: Validate with commitlint (push) | |
if: github.event_name == 'push' | |
run: npx commitlint --last --verbose | |
- name: Validate PR commits with commitlint | |
if: github.event_name == 'pull_request' | |
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
build: | |
runs-on: ubuntu-latest | |
needs: commitlint | |
env: | |
CI: true | |
steps: | |
- name: Git checkout dev branch | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
# using -q to silent info outputs | |
- name: Install Dependencies | |
run: npm -q --no-progress ci --no-audit | |
- name: Lint | |
run: npm run lint | |
- name: Formatting | |
run: npm run prettier | |
- name: Build | |
run: npm run build | |
- name: Test (no coverage) | |
run: npm run test:without-coverage | |
- name: Ensure Data Integrity | |
run: | | |
npm run data:checks | |
npm run docs:check-links | |
npm run docs:sort-glossary |