2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-01 05:54:03 +03:00

Update test.yml

This commit is contained in:
Jeff Sagal
2022-07-17 12:23:51 -07:00
parent 76ac8ed394
commit 827824d02e
+7 -12
View File
@@ -45,23 +45,15 @@ jobs:
node-version: 16
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
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
restore-keys: ${{ runner.os }}-yarn-
- name: Install dependencies
run: |
yarn install --frozen-lockfile --prefer-offline
cd docs
yarn install --frozen-lockfile --prefer-offline
run: yarn install --frozen-lockfile --prefer-offline
- name: Build Dist
run: yarn build
@@ -70,4 +62,7 @@ jobs:
run: npx bundlewatch
- name: Build Docs
run: yarn build:docs
run: |
cd docs
yarn install --frozen-lockfile --prefer-offline
yarn build