diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-07-19 18:52:04 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-07-20 21:42:32 +0300 |
commit | fe1077d0cc6fc954b3bebd6519af1354cee735f9 (patch) | |
tree | d9cce048671a8531879d503dbfd0420237fadf01 | |
parent | 2f4899d925a269cb948f42d077c6ae243c2f7e75 (diff) |
Test our v4-dev branch too
-rw-r--r-- | .eslintignore | 1 | ||||
-rw-r--r-- | .github/workflows/test.yml | 9 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | package.json | 2 |
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 @@ -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/\"" } } |