From e536692e76315a068b4905f792e25febfe6d4391 Mon Sep 17 00:00:00 2001 From: titouanfreville Date: Thu, 13 Oct 2022 17:29:41 +0200 Subject: [PATCH] refactor: Upgrade to node 16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Wrap at 72 chars. ################################## which is here: # # type: # fix -> change that do not modify fonctional code but fix an issue # feat -> code introduce a new feature # refactor -> change that only modify code without introducing feature nor solving bug # perf -> change that optimize performance # test -> modification impacting testing only # ci -> modification on ci # docs -> doc update # # scope: feature impacted by the changes # # append ! if change is breaking # cf: https://www.conventionalcommits.org/en/v1.0.0/ for more information # ###### COMMIT SAMPLE ################################################### # feat(HOOKS): Add commit hooks style validation # # To ensure all of Tankyou dev follow commit rules, we wish to enforce # commit content using commit-msg hook # This hook will be configured to be installed globally and will be # triggered on each repository ######################################################################## # # Title: Summary, imperative, start upper case, don't end with a period (.) # # Remember blank line between title and body. # # Body: Explain *what* and *why* (not *how*). # # # How to Write a Git Commit Message: # https://chris.beams.io/posts/git-commit/ # # 1.Separate subject from body with a blank line # 2. Limit the subject line to 50 characters # 3. Capitalize the subject line # 4. Do not end the subject line with a period # 5. Use the imperative mood in the subject line # 6. Wrap the body at 72 characters # 7. Use the body to explain what and why vs. how # # Footer: # - BREAKING CHANGE: indicate what change are breaking the API and why --- .github/workflows/ci.yml | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98f27207..2a082c23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - main env: - node_version: "12.x" + node_version: "16.x" custom_cache_key_element: "${{ github.sha }}-${{ github.run_id }}" jobs: diff --git a/action.yml b/action.yml index 535fd022..b4186f01 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ name: 'restore or create a python virtualenv' description: '1-liner to restore and activate a cached virtualenv, or create a new one.' author: 'syphar' runs: - using: 'node12' + using: 'node16' main: 'dist/restore/index.js' post: 'dist/save/index.js' post-if: 'success()'