Commit 8e011137 authored by liziwl's avatar liziwl
Browse files

update ci, cache npm

parent dc23ac82
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -27,6 +27,13 @@ jobs:
        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