File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 88
99concurrency :
1010 group : ci-${{ github.ref }}
11- cancel-in-progress : false
11+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1212
1313permissions :
1414 contents : read
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
1010jobs :
1111 test-build :
1212 name : Test and Build
13- runs-on : blacksmith-4vcpu -ubuntu-2404
13+ runs-on : blacksmith-8vcpu -ubuntu-2404
1414
1515 steps :
1616 - name : Checkout code
3838 key : ${{ github.repository }}-node-modules
3939 path : ./node_modules
4040
41+ - name : Mount Turbo cache (Sticky Disk)
42+ uses : useblacksmith/stickydisk@v1
43+ with :
44+ key : ${{ github.repository }}-turbo-cache
45+ path : /tmp/turbo-cache
46+
47+ - name : Link Turbo cache into node_modules
48+ run : mkdir -p ./node_modules/.cache && ln -sf /tmp/turbo-cache ./node_modules/.cache/turbo
49+
50+ - name : Restore Next.js build cache
51+ uses : actions/cache@v4
52+ with :
53+ path : ./apps/sim/.next/cache
54+ key : ${{ runner.os }}-nextjs-${{ hashFiles('bun.lock') }}
55+ restore-keys : |
56+ ${{ runner.os }}-nextjs-
57+
4158 - name : Install dependencies
4259 run : bun install --frozen-lockfile
4360
You can’t perform that action at this time.
0 commit comments