Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
quesabe committed Apr 25, 2024
1 parent 2e05de4 commit 2b6978d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./create-release # ottofeller/github-actions/create-release@main
id: create-release
with:
Expand All @@ -30,15 +30,15 @@ jobs:
bump-level: patch
github-token: ${{ secrets.GITHUB_TOKEN }}
# Since we are testing, clean up after the run and delete the release
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
- uses: dev-drprasad/delete-tag-and-release@v1.1
with:
delete_release: false
tag_name: ${{ steps.create-release.outputs.release-name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The previous action fails to find a draft release.
# Thus need to delete it manually with octokit.
- uses: actions/github-script@v6
- uses: actions/github-script@v7
env:
RELEASE_ID: ${{ steps.create-release.outputs.release-id }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-latest-release-commit-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./latest-release-commit-hash # ottofeller/github-actions/latest-release-commit-hash@main
id: commit-hash
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-npm-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 20.x]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./npm-run # ottofeller/github-actions/npm-run@main
with:
ref: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./publish-npm # ottofeller/github-actions/publish-npm@main
with:
ref: ${{ github.ref }}
Expand Down
8 changes: 4 additions & 4 deletions create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Bump version - dry run
id: bump-version
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.67.0
env:
DEFAULT_BUMP: ${{ inputs.bump-level }}
INITIAL_VERSION: ${{ inputs.initial-version }}
Expand Down Expand Up @@ -90,7 +90,7 @@ runs:
git commit -m "${{ steps.bump-version.outputs.new_tag || 'Update children packages' }}"
git push origin $(git branch --show-current)
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.67.0
env:
CUSTOM_TAG: ${{ steps.bump-version.outputs.new_tag }}
INITIAL_VERSION: ${{ inputs.initial-version }}
Expand All @@ -99,7 +99,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.github-token }}
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
Expand Down
2 changes: 1 addition & 1 deletion generate-db-diagram/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch mermerd
Expand Down
2 changes: 1 addition & 1 deletion generate-graphql-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run spectaql with a config
Expand Down
4 changes: 2 additions & 2 deletions latest-release-commit-hash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Need to load all the history
- name: Get the latest release info
id: latest_release
uses: InsonusK/get-latest-release@v1.0.1
uses: InsonusK/get-latest-release@v1.1.0
with:
myToken: ${{ inputs.github-token }}
exclude_types: "prerelease|draft"
Expand Down
7 changes: 4 additions & 3 deletions npm-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:
Otherwise, uses the default branch.
node-version:
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0'
default: 20
registry-url:
description: >
Optional registry to set up for auth. Will set the registry
Expand All @@ -25,18 +26,18 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- name: Cache node_modules
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ hashFiles( format('{0}/{1}', inputs.directory, 'package.json') ) }}
path: ${{ inputs.directory }}/node_modules
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: ${{ inputs.registry-url }}
Expand Down
2 changes: 1 addition & 1 deletion publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
Otherwise, uses the default branch.
node-version:
description: "Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0"
default: 16
default: 20
registry-url:
description: >
Registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file,
Expand Down

0 comments on commit 2b6978d

Please sign in to comment.