Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lahgolz committed Jul 15, 2023
1 parent d045ec1 commit 96e763f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
node-version:
- "18"
- "19"
- "20"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -23,13 +23,13 @@ jobs:
Refactoring","hidden":true},{"type":"test","section":"Tests","hidden":true},{"type":"ci","section":"Continuous
Integration","hidden":true}]'

- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}

- name: Use Node.js v18
uses: actions/setup-node@v2
- name: Use Node.js v20
uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
registry-url: https://registry.npmjs.org
if: ${{ steps.release.outputs.release_created }}

Expand Down

0 comments on commit 96e763f

Please sign in to comment.