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>2021-07-19 18:52:04 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-07-20 21:42:32 +0300
commitfe1077d0cc6fc954b3bebd6519af1354cee735f9 (patch)
treed9cce048671a8531879d503dbfd0420237fadf01
parent2f4899d925a269cb948f42d077c6ae243c2f7e75 (diff)
Test our v4-dev branch too
-rw-r--r--.eslintignore1
-rw-r--r--.github/workflows/test.yml9
-rw-r--r--.gitignore1
-rw-r--r--package.json2
4 files changed, 7 insertions, 6 deletions
diff --git a/.eslintignore b/.eslintignore
index 21abbb8..3fd8b01 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1 +1,2 @@
/bootstrap/
+/bootstrap-4/
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3863984..13dcd8f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -19,11 +19,10 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2
- - name: Clone twbs/bootstrap repository
- uses: actions/checkout@v2
- with:
- repository: twbs/bootstrap
- path: bootstrap
+ - 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
- name: Set up Node.js
uses: actions/setup-node@v2
diff --git a/.gitignore b/.gitignore
index ac33858..921d254 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/bootstrap/
+/bootstrap-4/
/node_modules/
/npm-debug.log
diff --git a/package.json b/package.json
index 93a0d89..2a01454 100644
--- a/package.json
+++ b/package.json
@@ -44,6 +44,6 @@
"eslint": "eslint --report-unused-disable-directives .",
"lint": "npm run eslint",
"test": "npm run eslint",
- "test-ci": "stylelint \"bootstrap/scss/**/*.scss\" --config scss/index.js --ignore-pattern \"**/vendor/\""
+ "test-ci": "stylelint \"(bootstrap|bootstrap-4)/scss/**/*.scss\" --config scss/index.js --ignore-pattern \"**/vendor/\""
}
}