Skip to content

Pin version of GitHub Actions using SHA #21

Pin version of GitHub Actions using SHA

Pin version of GitHub Actions using SHA #21

Workflow file for this run

name: Check code health
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run format
run: npm run format
- name: Run type check
run: npm run type-check
- name: Run test
run: npm run test