pls
This commit is contained in:
parent
0980c8bb88
commit
15ed579bc0
1 changed files with 5 additions and 9 deletions
|
@ -12,19 +12,17 @@ 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: cimg/node:lts-browsers
|
|
||||||
working_directory: ~/Cider
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Fetch Application Version
|
name: Fetch Application Version
|
||||||
command: sudo chmod +x resources/version.sh && ./resources/version.sh || true
|
command: ./resources/version.sh || true
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
key: dependency-cache-{{ checksum "pnpm-lock.yaml" }}
|
||||||
- run:
|
- run:
|
||||||
name: Clear node_airtunes2 cache
|
name: Clear node_airtunes2 cache
|
||||||
command: sudo rm -rf ~/.pnpm-store/tmp/cf5bc2de2629636ca224995234b8eaa1 || true
|
command: 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
|
||||||
|
@ -121,10 +119,8 @@ jobs:
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/Cider/dist/artifacts
|
path: ~/Cider/dist/artifacts
|
||||||
- run:
|
- run:
|
||||||
name: Run Version Script
|
name: Fetch Version
|
||||||
command: |
|
command: echo "export APP_VERSION=$(node -p -e 'require("./package.json").version')" >>$BASH_ENV
|
||||||
sudo chmod +x resources/version.sh && ./resources/version.sh || true
|
|
||||||
echo "export APP_VERSION=$(node -p -e 'require("./package.json").version')" >>$BASH_ENV
|
|
||||||
- run:
|
- run:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue