From e3e0859353fca6b73c4576b44e5b4e3f40ae3e51 Mon Sep 17 00:00:00 2001 From: Ian Roberts Date: Tue, 27 Dec 2022 14:15:18 -0700 Subject: [PATCH 1/2] fix(release workflow): Updates workflow to use actions v3 for compatibility with node 14, 16, 18 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f657c2b..f1ad3eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ jobs: # pull-requests: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16.9.0 - name: Install dependencies From e36ab58cd5a683fafbe7ee7edb98f551e64975ef Mon Sep 17 00:00:00 2001 From: Ian Roberts Date: Tue, 27 Dec 2022 14:25:56 -0700 Subject: [PATCH 2/2] docs(release.yml): adds code comments for future work or permissions warning --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1ad3eb..3bd0527 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,7 @@ ### # Run semantic-release only after all tests succeeded! +# - uses permissive GITHUB_TOKEN if we need to restrict the token in the future set permissions mannually +# - in a future step we'll deploy this project to npm ### name: Release