mirror of
https://github.com/JustusPlays78/SectorFileUpdater.git
synced 2025-04-29 10:10:57 +00:00
32 lines
805 B
YAML
32 lines
805 B
YAML
version: 2.1
|
|
jobs:
|
|
build:
|
|
working_directory: ~/repo
|
|
docker:
|
|
- image: circleci/node:11
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Update NPM
|
|
command: "sudo npm install -g npm"
|
|
- restore_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
- run:
|
|
name: Install Dependencies
|
|
command: npm install
|
|
- run:
|
|
name: Install dpkg and fakeroot
|
|
command: |
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y dpkg fakeroot
|
|
|
|
- save_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
paths:
|
|
- ./node_modules
|
|
- run:
|
|
name: Generate Builds
|
|
command: npm run make
|
|
|
|
- store_artifacts:
|
|
path: ~/repo/out/make |