Commit df6d50fc authored by liziwl's avatar liziwl
Browse files

update action

parent 4ced11d5
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -46,20 +46,14 @@ jobs:
      with:
        node-version: '16'

    - name: Install Dependencies
      run: yarn install

    - name: Check yarn / node version
      run: |
        echo "yarn version `yarn --version`"
        echo "node version `node -v`"

    - name: Cache dependencies
      uses: actions/cache@v2
      with:
        path: ~/.npm
        key: npm-${{ hashFiles('package-lock.json') }}
        restore-keys: npm-

    - name: Install Dependencies
      run: yarn install
        yarn list --pattern vuepress

    - name: Build Site
      run: yarn docs:build