mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
Update test.yml
This commit is contained in:
@@ -45,23 +45,15 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarn-cache-dir-path
|
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
path: node_modules
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: ${{ runner.os }}-yarn-
|
||||||
${{ runner.os }}-yarn-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: yarn install --frozen-lockfile --prefer-offline
|
||||||
yarn install --frozen-lockfile --prefer-offline
|
|
||||||
cd docs
|
|
||||||
yarn install --frozen-lockfile --prefer-offline
|
|
||||||
|
|
||||||
- name: Build Dist
|
- name: Build Dist
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@@ -70,4 +62,7 @@ jobs:
|
|||||||
run: npx bundlewatch
|
run: npx bundlewatch
|
||||||
|
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: yarn build:docs
|
run: |
|
||||||
|
cd docs
|
||||||
|
yarn install --frozen-lockfile --prefer-offline
|
||||||
|
yarn build
|
||||||
|
|||||||
Reference in New Issue
Block a user