diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4cabbdbd..98ee27991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '14' + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "14" + cache: npm - - name: ๐Ÿ“ฆ Install dependencies - run: npm ci + - name: ๐Ÿ“ฆ Install dependencies + run: npm ci - - name: ๐Ÿงช Run tests - run: npm test + - name: ๐Ÿงช Run tests + run: npm test - - name: ๐Ÿ’„ Code style - run: npm run style + - name: ๐Ÿ’„ Code style + run: npm run style diff --git a/.github/workflows/update_directory_md.yml b/.github/workflows/update_directory_md.yml index b2eeb9919..cd33b955f 100644 --- a/.github/workflows/update_directory_md.yml +++ b/.github/workflows/update_directory_md.yml @@ -10,7 +10,8 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '14' + node-version: "14" + cache: npm - name: ๐Ÿ“ฆ Install dependencies run: npm ci