chore(deps): update dependency @types/node to v20.8.3 #857
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
--- | |
on: # yamllint disable-line rule:truthy | |
merge_group: | |
push: | |
branches: | |
- master | |
- develop | |
# Only consider those paths to trigger the action | |
paths: | |
- 'packages/**' | |
- 'package.json' | |
- 'pnpm*' | |
- '.github/**' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
# Only consider those paths to trigger the action | |
paths: | |
- 'packages/**' | |
- 'package.json' | |
- 'pnpm*' | |
- '.github/**' | |
name: 🔍 Continuous integration for packages | |
jobs: | |
integration: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: ['ubuntu-22.04'] | |
node: ['18'] | |
steps: | |
- name: 📦 Check out the codebase | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
with: | |
fetch-depth: 0 | |
- name: ⚙️ Setup node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: 'https://registry.npmjs.org/' | |
- name: 📥 Monorepo install | |
uses: wayofdev/gh-actions/actions/pnpm-install@master | |
with: | |
enable-corepack: true | |
cache-node-modules: true | |
- name: 📤 Restore packages cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
${{ github.workspace }}/.cache | |
${{ github.workspace }}/**/tsconfig.tsbuildinfo | |
key: ${{ runner.os }}-packages-cache-${{ hashFiles('**/pnpm*.yaml') }}-${{ hashFiles('packages/**.[jt]sx?', 'packages/**.json') }} | |
restore-keys: | | |
${{ runner.os }}-packages-cache-${{ hashFiles('**/pnpm*.yaml') }}- | |
- if: github.event_name == 'pull_request' | |
name: 🔍 Validate all commits from PR | |
uses: wagoid/commitlint-github-action@v5 | |
env: | |
NODE_PATH: ${{ github.workspace }}/node_modules | |
# Lint packages that have changed (--include & --since) | |
- name: 🚨 Lint | |
run: | | |
pnpm --filter "...[origin/master]" run lint |