-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 988 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/*'
bun-version:
type: string
description: 'Bun version to use'
required: false
default: 'latest'
env:
NODE_VERSION: ${{ inputs.node-version || 'lts/*' }}
BUN_VERSION: ${{ inputs.bun-version || 'latest' }}
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup tooling
uses: ./.github/actions/setup-tooling
with:
node-version: ${{ env.NODE_VERSION }}
bun-version: ${{ env.BUN_VERSION }}
- name: Validate resume
run: bun run validate
- name: Lint source files
run: bun run lint