-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.02 KB
/
code-checks.yml
File metadata and controls
42 lines (40 loc) · 1.02 KB
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
37
38
39
40
41
42
name: code-checks
on:
push:
branches:
- main
- master
- development
- feature/**
- hotfix/**
jobs:
turbo-checks:
name: 🔍 turbo-checks
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v6
- name: Cache turbo build setup
uses: actions/cache@v5
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Use Node.js 22
uses: actions/setup-node@v6
with:
node-version: 22
cache: "pnpm"
- name: corepack
run: corepack enable
- name: Install dependencies
run: |
export COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')"
pnpm install
- name: turbo-checks
run: pnpm run turbo-checks