diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-11-01 18:32:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 18:32:38 +0300 |
commit | ee87e8ad4a3c258705147d50cb736f9e8a6c99f7 (patch) | |
tree | 711afb368dafbefeec97b2a45e9f271068ca1675 | |
parent | f6961086b1995e279f93b1d9f87e4f7597b9aa48 (diff) |
package.json: add a clone-repo script (#177)
-rw-r--r-- | .github/workflows/test.yml | 4 | ||||
-rw-r--r-- | package.json | 1 |
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" } |