From 820578d7ee17e0ec7bf94bcf4675cdb21760a6ba Mon Sep 17 00:00:00 2001 From: Nameer-Alkhayyat Date: Tue, 29 Mar 2022 19:55:34 +0200 Subject: [PATCH] update yaml action config #7 --- .github/workflows/commit.js.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/commit.js.yml b/.github/workflows/commit.js.yml index a753c2f..255fc25 100644 --- a/.github/workflows/commit.js.yml +++ b/.github/workflows/commit.js.yml @@ -28,12 +28,13 @@ jobs: uses: actions/setup-node@v3.0.0 with: node-version: ${{ matrix.node-version }} - - name: Cache - uses: actions/cache@v3.0.0 - with: - path: ~/.npm - key: npm-${{ hashFiles('~/package.json') }} - restore-keys: npm- + cache: 'npm' + # - name: Cache + # uses: actions/cache@v3.0.0 + # with: + # path: ~/.npm + # key: npm-${{ hashFiles('~/package.json') }} + # restore-keys: npm- - run: npm install - run: npm run build --if-present - run: npx hardhat test