This commit is contained in:
Core 2022-08-25 18:17:20 +01:00
parent fb412eb9fc
commit 4c0eef21ae
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -12,8 +12,7 @@ orbs: # Add orbs to your configuration
# The jobs for this project
jobs:
prepare-build:
docker:
- image: znck/pnpm:latest
executor: cider-ci
steps:
- checkout
- run:
@ -21,12 +20,16 @@ jobs:
command: |
sudo apt-get update -y
sudo apt-get install -y autoconf automake g++ libtool || true
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm config set store-dir ~/.pnpm-store
- run:
name: Fetch Application Version
command: sudo chmod +x resources/version.sh && ./resources/version.sh || true
- restore_cache:
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
- run:
name: Clear node_airtunes2 cache
command: sudo rm -rf ~/.pnpm-store/tmp/cf5bc2de2629636ca224995234b8eaa1 || true
- run:
name: Install Node Dependencies
command: pnpm install --frozen-lockfile
@ -34,6 +37,7 @@ jobs:
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
paths:
- node_modules
- ~/.pnpm-store
- run:
name: TypeScript Compile
command: pnpm run build