diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index be2775674..f0adb11e0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -17,23 +17,11 @@ jobs: - name: Setup Node.js uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 with: - node-version: '16.x' - # Cache yarn dependencies / restore the cached dependencies during future workflows - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Cache yarn dependencies - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + node-version: 20 + cache: 'yarn' - name: Install dependencies # Ubuntu 16+ does not install libgconf-2-4 by default, so we need to install it ourselves (for Cypress) run: | - npm config set scripts-prepend-node-path true sudo apt-get install libgconf-2-4 yarn --frozen-lockfile - name: Run linting diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 71911b96b..9dfb2ff80 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,7 +14,8 @@ jobs: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 - uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 with: - node-version: '16.x' + node-version: 20 + cache: 'yarn' - name: Build Playwright environment run: docker build --tag playwright-test --file Dockerfile.playwright .