Skip to content

ci experiment: cache monorepo build #13409

ci experiment: cache monorepo build

ci experiment: cache monorepo build #13409

Workflow file for this run

name: Block
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
env:
cwd: ${{github.workspace}}/packages/block
defaults:
run:
working-directory: packages/block
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-block:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
needs: build-monorepo
steps:
- name: 'Cache build'
- uses: 'actions/cache@v3'
with:
path: '.'
key: '${{ runner.os }}-node-18-${{ git rev-parse HEAD }}'
restore-keys: '${{ runner.os }}-node-18'