From 23cf6725bc3a5ca8d562cb4399b20d9a0f6c175a Mon Sep 17 00:00:00 2001 From: Roland Sadowski Date: Fri, 26 Jul 2024 15:06:05 +0100 Subject: [PATCH] ci: use npm cache --- .github/workflows/deploy-to-dev.yml | 2 ++ .github/workflows/deploy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy-to-dev.yml b/.github/workflows/deploy-to-dev.yml index 31667299..b5c8045a 100644 --- a/.github/workflows/deploy-to-dev.yml +++ b/.github/workflows/deploy-to-dev.yml @@ -16,9 +16,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + cache: 'npm' - id: install-node-dependencies run: npm ci - id: lint + name: Lint run: npm run lint - uses: ./.github/actions/playwright-setup - uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b76378a7..e42ea342 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,9 +22,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + cache: 'npm' - id: install-node-dependencies run: npm ci - id: lint + name: Lint run: npm run lint - uses: ./.github/actions/playwright-setup