Skip to content

Commit

Permalink
ci: update github workflow deps
Browse files Browse the repository at this point in the history
  • Loading branch information
artificial-nlynchjo authored Sep 18, 2024
1 parent dd68c12 commit 43f8895
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
version: ${{ steps.setup_id.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Versioning
id: versioning
uses: paulhatch/semantic-version@v5.0.3
uses: paulhatch/semantic-version@v5.4.0
with:
tag_prefix: "v"
major_pattern: "BREAKING CHANGE:"
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Tag Build
continue-on-error: true
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ github.token }}
script: |
Expand All @@ -54,10 +54,10 @@ jobs:
needs: tag
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Install the dependencies
Expand All @@ -68,4 +68,3 @@ jobs:

- name: Publish
run: vsce publish -p ${{ secrets.AZURE_MARKETPLACE_TOKEN }}

14 changes: 7 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/
cache: 'npm'

Expand All @@ -24,12 +24,12 @@ jobs:
version-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Versioning
id: versioning
uses: paulhatch/semantic-version@v5.0.3
uses: paulhatch/semantic-version@v5.4.0
with:
tag_prefix: "v"
major_pattern: "BREAKING CHANGE:"
Expand All @@ -41,14 +41,14 @@ jobs:
run: |
echo "version_raw=${{ steps.versioning.outputs.major }}.${{ steps.versioning.outputs.minor }}.${{ steps.versioning.outputs.patch }}" >> $GITHUB_OUTPUT
- name: Find Comment
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: this would result in **${{ github.event.repository.name }}**
- name: Create comment
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down

0 comments on commit 43f8895

Please sign in to comment.