From 4cfb138f955ff22f9c15d7ddbe43aac85baf7c03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Jun 2021 21:05:19 +0000 Subject: [PATCH 1/2] chore(deps): bump actions/setup-node from 2.1.5 to 2.2.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/pull_request_title.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2024df0d9..8f2ab94eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: restore-keys: | ${{ runner.os }}-modules- - name: Use Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v2.2.0 with: node-version: 14 - run: yarn @@ -30,7 +30,7 @@ jobs: restore-keys: | ${{ runner.os }}-modules- - name: Use Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v2.2.0 with: node-version: 14 - run: yarn @@ -42,7 +42,7 @@ jobs: steps: - uses: actions/checkout@v2.3.4 - name: Use Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v2.2.0 with: node-version: 14 - run: yarn --pure-lockfile @@ -65,7 +65,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Use Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v2.2.0 with: node-version: 14 - run: yarn --pure-lockfile diff --git a/.github/workflows/pull_request_title.yml b/.github/workflows/pull_request_title.yml index 0464e1962..5b622ec67 100644 --- a/.github/workflows/pull_request_title.yml +++ b/.github/workflows/pull_request_title.yml @@ -16,7 +16,7 @@ jobs: restore-keys: | ${{ runner.os }}-modules- - name: Use Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v2.2.0 with: node-version: 16 - run: yarn From bea456290e0e0a9852aceaf95527f92d3c93fa44 Mon Sep 17 00:00:00 2001 From: Emmanuel Chambon Date: Mon, 5 Jul 2021 11:00:35 +0200 Subject: [PATCH 2/2] fix: use new cache --- .github/workflows/ci.yml | 14 ++------------ .github/workflows/pull_request_title.yml | 7 +------ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f2ab94eb..21dd73feb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,32 +7,22 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2.3.4 - - uses: actions/cache@v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-modules- - name: Use Node.js uses: actions/setup-node@v2.2.0 with: node-version: 14 + cache: 'yarn' - run: yarn - run: yarn run lint test: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2.3.4 - - uses: actions/cache@v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-modules- - name: Use Node.js uses: actions/setup-node@v2.2.0 with: node-version: 14 + cache: 'yarn' - run: yarn - run: yarn run test:coverage - uses: codecov/codecov-action@v1.5.2 diff --git a/.github/workflows/pull_request_title.yml b/.github/workflows/pull_request_title.yml index 5b622ec67..770371d36 100644 --- a/.github/workflows/pull_request_title.yml +++ b/.github/workflows/pull_request_title.yml @@ -9,15 +9,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2.3.4 - - uses: actions/cache@v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-modules- - name: Use Node.js uses: actions/setup-node@v2.2.0 with: node-version: 16 + cache: 'yarn' - run: yarn - run: echo '${{ github.event.pull_request.title }}' | yarn run commitlint