Skip to content

Remove temp layers after editing / removing (#1534) (patch) #1148

Remove temp layers after editing / removing (#1534) (patch)

Remove temp layers after editing / removing (#1534) (patch) #1148

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: |
${{ env.STORE_PATH }}
/home/runner/.cache/Cypress
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --store-dir ${{ env.STORE_PATH }}
- run: pnpm run build
- run: pnpm test
env:
CI: true