chore(deps): update dependency @types/node to v22 #1491
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: test | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
unit: | |
name: unit / ${{matrix.os}} / node v${{matrix.node_version}} | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [16, 18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node ${{matrix.node_version}} | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node_version }} | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 8 | |
run_install: false | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build dependencies | |
run: pnpm run build | |
- name: Run Tests | |
run: pnpm run test | |
- name: Run TS Smoke Tests | |
run: pnpm run test:ts | |
- name: Lint Prettier | |
run: pnpm run lint:prettier | |
- name: Lint ESLint | |
run: pnpm run lint |