Skip to content

Commit

Permalink
fix: switch order of directives
Browse files Browse the repository at this point in the history
  • Loading branch information
ravijayaramappa committed Jul 3, 2023
1 parent ebd180c commit 585ed75
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ version: 2.1

supported-eslint-versions: &supported-eslint-versions ["local", "7"]

executors:
node:
working_directory: ~/eslint-plugin-lwc
docker:
- image: cimg/node:16.17.0

deploy_filters: &deploy_filters
filters:
branches:
Expand All @@ -16,6 +10,12 @@ deploy_filters: &deploy_filters
# Trigger on tags that begin with `v`
only: /^v.*/

executors:
node:
working_directory: ~/eslint-plugin-lwc
docker:
- image: cimg/node:16.17.0

commands:
save_yarn_cache:
description: Save Yarn cache for future build
Expand All @@ -35,15 +35,14 @@ commands:

jobs:
build:
executor: node
parameters:
eslint-version:
type: string
description: >
Overrides the installed version of ESLint. When set to "local" the version of ESLint set
frozen in the yarn.lock is used.
default: "local"
docker:
- image: circleci/node
steps:
- checkout
- restore_yarn_cache
Expand Down

0 comments on commit 585ed75

Please sign in to comment.