Skip to content

Commit

Permalink
Merge pull request #1 from getlocalci/add/initial-create-config
Browse files Browse the repository at this point in the history
Test this using its own config
  • Loading branch information
kienstra authored Oct 6, 2022
2 parents 5c2867a + c1498a2 commit 9b6a8d2
Show file tree
Hide file tree
Showing 12 changed files with 817 additions and 48 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2.1
orbs:
continuation: circleci/[email protected]
node: circleci/[email protected]
setup: true
jobs:
generate-config:
executor: node/default
steps:
- checkout
- node/install-packages
- node/install-packages:
app-dir: .circleci/dynamic
- run:
name: Generate config
command: npm start
working_directory: .circleci/dynamic
- continuation/continue:
configuration_path: .circleci/dynamic/dynamicConfig.yml
workflows:
dynamic-workflow:
jobs:
- generate-config
3 changes: 3 additions & 0 deletions .circleci/dynamic/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createConfig, JobNames } from "@getlocalci/create-config";

createConfig(JobNames.JsLint, JobNames.JsTest);
Loading

0 comments on commit 9b6a8d2

Please sign in to comment.