Skip to content

8:59

8:59 #73

Workflow file for this run

name: CI
on:
push:
branches-ignore: main
jobs:
setup:
uses: ./.github/workflows/_setup.yml
build:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/.yarn/cache
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-nodemodules
- uses: actions/cache@v4
id: build-cache
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-next-build-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-next-build-
- name: Run build
if: steps.build-cache.outputs.cache-hit != 'true'
run: yarn build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true