-
Notifications
You must be signed in to change notification settings - Fork 201
45 lines (37 loc) · 1.16 KB
/
bootstrap.yml
File metadata and controls
45 lines (37 loc) · 1.16 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
43
44
45
name: CI
on:
push:
branches: [main, develop, release, yeet, private, beard, juice, gome, neo, arkeo, jib]
pull_request:
branches: [main, develop, release, yeet, private]
jobs:
install-and-cache:
name: Install and Cache
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
run: corepack enable && corepack prepare [email protected] --activate
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-node-modules-
- name: Install Dependencies
run: pnpm install --frozen-lockfile
call-pr-workflow:
name: Call
uses: ./.github/workflows/pr.yml
needs: [install-and-cache]
call-cloudflare-workflow:
name: Call
uses: ./.github/workflows/cloudflare.yml
secrets: inherit # pass org/repo secrets to the called workflow
needs: [install-and-cache]