build(deps-dev): bump tslib from 2.7.0 to 2.8.1 in /www #717
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: code-quality | |
on: | |
push: | |
jobs: | |
validate-lib: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [22] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup node env 🏗 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Cache node_modules 📦 | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install library dependencies 👨🏻💻 | |
run: npm i | |
- name: Install www dependencies | |
run: cd www && npm i | |
- name: Build project | |
run: npm run build | |
- name: Test project 🫣 | |
run: npm run test | |
- name: Run lint 👀 | |
run: npm run lint | |
- name: Run format 💎 | |
run: npm run format:check | |
validate-docs: | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./www | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [22] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup node env 🏗 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Cache node_modules 📦 | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies 👨🏻💻 | |
run: npm install | |
- name: Build project | |
run: npm run build | |
- name: Run lint 👀 | |
run: npm run lint | |
- name: Run format 💎 | |
run: npm run format:check | |
- name: Typecheck | |
run: npm run check |