Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/stylelint-config-twbs-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-11-01 18:32:38 +0300
committerGitHub <noreply@github.com>2022-11-01 18:32:38 +0300
commitee87e8ad4a3c258705147d50cb736f9e8a6c99f7 (patch)
tree711afb368dafbefeec97b2a45e9f271068ca1675
parentf6961086b1995e279f93b1d9f87e4f7597b9aa48 (diff)
package.json: add a clone-repo script (#177)
-rw-r--r--.github/workflows/test.yml4
-rw-r--r--package.json1
2 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index eca1e0c..818b794 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -25,9 +25,7 @@ jobs:
uses: actions/checkout@v3
- name: Clone twbs/bootstrap repo
- run: |
- git clone https://github.com/twbs/bootstrap.git -b main --depth 1 bootstrap
- git clone https://github.com/twbs/bootstrap.git -b v4-dev --depth 1 bootstrap-4
+ run: npm run clone-repo
- name: Set up Node.js
uses: actions/setup-node@v3
diff --git a/package.json b/package.json
index 535e9fd..0e4a665 100644
--- a/package.json
+++ b/package.json
@@ -41,6 +41,7 @@
},
"scripts": {
"lint": "eslint --ignore-path .gitignore .",
+ "clone-repo": "git clone https://github.com/twbs/bootstrap.git --branch main --depth 1 bootstrap && git clone https://github.com/twbs/bootstrap.git --branch v4-dev --depth 1 bootstrap-4",
"test": "npm run lint",
"test-ci": "stylelint \"(bootstrap|bootstrap-4)/scss/**/*.scss\" --config index.js --ignore-pattern \"**/vendor/\" --formatter verbose"
}