chore(deps): update dependency @types/node to v22 #880
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 Check | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
types: [opened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
permissions: | |
contents: read | |
jobs: | |
code: | |
name: Check Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup project | |
uses: ./.github/actions/setup | |
- name: Run prettier | |
run: pnpm run format:check | |
- name: Run lint | |
run: pnpm run lint | |
- name: Run type check | |
run: pnpm run check | |
- name: Run test | |
run: pnpm run test | |
- name: Build | |
run: pnpm run build | |
- name: Check difference | |
run: git diff --exit-code dist/ |