Skip to content

Update github/codeql-action action to v3.26.8 #505

Update github/codeql-action action to v3.26.8

Update github/codeql-action action to v3.26.8 #505

Workflow file for this run

name: Commit Check
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
install:
name: Install
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: ".node-version"
cache: "yarn"
- run: yarn install --check-files --frozen-lockfile --non-interactive
- uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: node_modules
key: install-deps-${{ github.sha }}
format:
name: Format
runs-on: ubuntu-22.04
timeout-minutes: 5
needs: install
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: ".node-version"
cache: "yarn"
- uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: node_modules
key: install-deps-${{ github.sha }}
- run: yarn prettier --check .
check_type:
name: Check Type
runs-on: ubuntu-22.04
timeout-minutes: 5
needs: install
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: ".node-version"
cache: "yarn"
- uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: node_modules
key: install-deps-${{ github.sha }}
- run: yarn tsc