From 599f328c9891734bee2cc7a58f2b1887602f445e Mon Sep 17 00:00:00 2001 From: Jiangk1996 <435783910@qq.com> Date: Thu, 16 Jun 2022 15:13:52 +0800 Subject: [PATCH] Add circleci config --- .circleci/config.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..ae47745 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,22 @@ +version: 2.1 +orbs: + node: circleci/node@5.0.2 + +# Define the jobs we want to run for this project +jobs: + lint: + executor: node/default + steps: + - checkout + - node/install-packages: + pkg-manager: npm + - run: + name: Lint code + command: npm run lint + +# Orchestrate our job run sequence +workflows: + lint: + jobs: + - lint +