Skip to content

Commit

Permalink
feat: add cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Downs committed Mar 25, 2022
1 parent 4aaa3b9 commit 3000d72
Show file tree
Hide file tree
Showing 5 changed files with 15,833 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,47 @@
version: 2.1
executors:
node-lts:
docker:
- image: cimg/node:lts

jobs:
install:
executor: node-lts
steps:
- checkout
- run: npm ci
- persist_to_workspace:
root: ./
paths:
- ./*
build:
executor: node-lts
steps:
- checkout
- attach_workspace:
at: .
- run: npm run build
version-and-publish:
executor: node-lts
steps:
- attach_workspace:
at: .
- run: npx semantic-release

workflows:
build-test-deploy:
jobs:
- install
- build:
requires:
- install
- version-and-publish:
context:
- github-versioning
- npm-publishing
requires:
- build
filters:
branches:
only:
- main
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
.DS_Store
dist
lib
node_modules

0 comments on commit 3000d72

Please sign in to comment.