ghaction ui test fix cmd + add cache
This commit is contained in:
parent
7b2720791e
commit
777747d5e7
|
@ -122,6 +122,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cache NPM dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
|
@ -131,4 +139,4 @@ jobs:
|
|||
run: npm clean-install
|
||||
|
||||
- name: Test
|
||||
run: npm test:ci
|
||||
run: npm run test:ci
|
||||
|
|
Loading…
Reference in New Issue