-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 996 Bytes
/
check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'Checking files'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
pull_request:
workflow_dispatch:
inputs:
node-version:
type: string
description: 'NodeJS version to use'
required: false
default: 'lts/*'
pnpm-version:
type: string
description: 'pnpm version to use'
required: false
default: 'latest'
env:
NODE_VERSION: ${{ inputs.node-version || 'lts/*' }}
PNPM_VERSION: ${{ inputs.pnpm-version || 'latest' }}
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup tooling
uses: ./.github/actions/setup-tooling
with:
node-version: ${{ env.NODE_VERSION }}
pnpm-version: ${{ env.PNPM_VERSION }}
- name: Validate resume
run: pnpm run validate
- name: Lint source files
run: pnpm run lint