update
This commit is contained in:
parent
fb412eb9fc
commit
4c0eef21ae
1 changed files with 6 additions and 2 deletions
|
@ -12,8 +12,7 @@ orbs: # Add orbs to your configuration
|
||||||
# The jobs for this project
|
# The jobs for this project
|
||||||
jobs:
|
jobs:
|
||||||
prepare-build:
|
prepare-build:
|
||||||
docker:
|
executor: cider-ci
|
||||||
- image: znck/pnpm:latest
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
@ -21,12 +20,16 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y autoconf automake g++ libtool || true
|
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
|
pnpm config set store-dir ~/.pnpm-store
|
||||||
- run:
|
- run:
|
||||||
name: Fetch Application Version
|
name: Fetch Application Version
|
||||||
command: sudo chmod +x resources/version.sh && ./resources/version.sh || true
|
command: sudo chmod +x resources/version.sh && ./resources/version.sh || true
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
||||||
|
- run:
|
||||||
|
name: Clear node_airtunes2 cache
|
||||||
|
command: sudo rm -rf ~/.pnpm-store/tmp/cf5bc2de2629636ca224995234b8eaa1 || true
|
||||||
- run:
|
- run:
|
||||||
name: Install Node Dependencies
|
name: Install Node Dependencies
|
||||||
command: pnpm install --frozen-lockfile
|
command: pnpm install --frozen-lockfile
|
||||||
|
@ -34,6 +37,7 @@ jobs:
|
||||||
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
- ~/.pnpm-store
|
||||||
- run:
|
- run:
|
||||||
name: TypeScript Compile
|
name: TypeScript Compile
|
||||||
command: pnpm run build
|
command: pnpm run build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue